#4162C1

Closest named color: Mid Blue (#276AB3). oklch(52.3% 0.153 266.7), rgb(65, 98, 193).

Aa

White text reads best on this color (5.61:1).

About this color

#4162C1 is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.153 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.039 away. White text reads best on it, at 5.61:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.153)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.74:1
White text5.61:1

Values

HEX#4162C1
RGBrgb(65, 98, 193)
HSLhsl(225, 51%, 51%)
OKLCHoklch(52.3% 0.153 266.7)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #4162C1 5.61:1 AA Lc -83.0 Fine for body text
Black text on #4162C1 3.74:1 AA large text Lc 26.3 Dividers and decoration only
#4162C1 text on white 5.61:1 AA Lc 77.7 Fine for body text
#4162C1 text on black 3.74:1 AA large text Lc -24.0 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.

  1. Step 50

    50

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #ABC0F2

    oklch(80.9% 0.075 267)

  5. Step 400

    400

    #7F9EEB

    oklch(70.8% 0.119 266.7)

  6. Step 500

    500

    #5F84E5

    oklch(63.2% 0.152 266.4)

  7. Step 600

    600

    #476BD3

    oklch(55.7% 0.165 266.7)

  8. Step 700

    700 (this color)

    #4162C1

    oklch(52.3% 0.153 266.7)

  9. Step 800

    800

    #2F4994

    oklch(42.8% 0.127 266.6)

  10. Step 900

    900

    #293E76

    oklch(37.8% 0.099 266.3)

  11. Step 950

    950

    #182545

    oklch(27.1% 0.062 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#4162C1 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#2E6EC40.033
Deuteranopia (no green cones)#0A62BF0.037
Tritanopia (no blue cones)#0078880.127
Achromatopsia (no color)#6868680.154

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #4162C1

    #4162C1

    oklch(52.3% 0.153 266.7)

  • #846400

    #846400

    oklch(52.1% 0.107 86.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4162C1

    #4162C1

    oklch(52.3% 0.153 266.7)

  • #0072A2

    #0072A2

    oklch(52.3% 0.113 236.5)

  • #7451B6

    #7451B6

    oklch(52.2% 0.154 296.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #4162C1

    #4162C1

    oklch(52.3% 0.153 266.7)

  • #9F5300

    #9F5300

    oklch(52.4% 0.127 56.8)

  • #667200

    #667200

    oklch(52.4% 0.121 116.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4162C1

    #4162C1

    oklch(52.3% 0.153 266.7)

  • #B13C36

    #B13C36

    oklch(52.3% 0.153 26.7)

  • #09802C

    #09802C

    oklch(52.3% 0.154 146.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4162C1

    #4162C1

    oklch(52.3% 0.153 266.7)

  • #AA3A6B

    #AA3A6B

    oklch(52.2% 0.154 356.8)

  • #846400

    #846400

    oklch(52.1% 0.107 86.6)

  • #007B68

    #007B68

    oklch(52.1% 0.097 176.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #4162C1, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #4162C1 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.