#4166E5

Closest named color: Royal Blue (#4169E1). oklch(55.7% 0.197 267.3), rgb(65, 102, 229).

Aa

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

About this color

#4166E5 is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.197 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.010 away. White text reads best on it, at 4.93:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.197)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.25:1
White text4.93:1

Values

HEX#4166E5
RGBrgb(65, 102, 229)
HSLhsl(226, 76%, 58%)
OKLCHoklch(55.7% 0.197 267.3)

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 #4166E5 4.93:1 AA Lc -79.1 Fine for body text
Black text on #4166E5 4.25:1 AA large text Lc 30.4 Non-text elements, placeholder text
#4166E5 text on white 4.93:1 AA Lc 73.7 Content text, not long reading
#4166E5 text on black 4.25:1 AA large text Lc -28.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 600.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFC

    oklch(93.6% 0.026 266.6)

  3. Step 200

    200

    #CBD9FB

    oklch(88.6% 0.049 267.7)

  4. Step 300

    300

    #A7BFFB

    oklch(80.8% 0.089 267.5)

  5. Step 400

    400

    #799CF9

    oklch(70.7% 0.142 267.2)

  6. Step 500

    500

    #5980F6

    oklch(63.2% 0.181 267.3)

  7. Step 600

    600 (this color)

    #4166E5

    oklch(55.7% 0.197 267.3)

  8. Step 700

    700

    #3353C7

    oklch(49% 0.184 267.3)

  9. Step 800

    800

    #2B45A1

    oklch(42.7% 0.152 267.5)

  10. Step 900

    900

    #263B7F

    oklch(37.6% 0.118 267.5)

  11. Step 950

    950

    #16234B

    oklch(26.9% 0.076 267.6)

Export this scale for Tailwind in the Tailwind colors tool

#4166E5 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)#0078E90.049
Deuteranopia (no green cones)#0069E20.035
Tritanopia (no blue cones)#00859C0.157
Achromatopsia (no color)#7070700.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #4166E5

    #4166E5

    oklch(55.7% 0.197 267.3)

  • #906E00

    #906E00

    oklch(55.7% 0.114 87.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4166E5

    #4166E5

    oklch(55.7% 0.197 267.3)

  • #007CB2

    #007CB2

    oklch(55.6% 0.123 237.7)

  • #834FD6

    #834FD6

    oklch(55.6% 0.198 297.3)

Open the analogous palette in the generator

Split complementary

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

  • #4166E5

    #4166E5

    oklch(55.7% 0.197 267.3)

  • #AC5B00

    #AC5B00

    oklch(55.6% 0.134 57.3)

  • #6F7D00

    #6F7D00

    oklch(55.9% 0.129 117.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4166E5

    #4166E5

    oklch(55.7% 0.197 267.3)

  • #CE2D2A

    #CE2D2A

    oklch(55.7% 0.198 27.3)

  • #008C33

    #008C33

    oklch(55.8% 0.164 147.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4166E5

    #4166E5

    oklch(55.7% 0.197 267.3)

  • #C52C75

    #C52C75

    oklch(55.7% 0.197 357)

  • #906E00

    #906E00

    oklch(55.7% 0.114 87.1)

  • #008773

    #008773

    oklch(55.8% 0.103 177.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4166E5 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.