#4165CA

Closest named color: Royal Blue (#4169E1). oklch(53.5% 0.162 266.3), rgb(65, 101, 202).

Aa

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

About this color

#4165CA is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.162 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.036 away. White text reads best on it, at 5.33:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.162)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text3.93:1
White text5.33:1

Values

HEX#4165CA
RGBrgb(65, 101, 202)
HSLhsl(224, 56%, 52%)
OKLCHoklch(53.5% 0.162 266.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 #4165CA 5.33:1 AA Lc -81.5 Fine for body text
Black text on #4165CA 3.93:1 AA large text Lc 27.9 Dividers and decoration only
#4165CA text on white 5.33:1 AA Lc 76.2 Fine for body text
#4165CA text on black 3.93:1 AA large text Lc -25.6 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

    #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

    #ABC0F1

    oklch(80.9% 0.073 266.7)

  5. Step 400

    400

    #7F9EEA

    oklch(70.7% 0.117 266.5)

  6. Step 500

    500

    #5F84E3

    oklch(63.1% 0.149 266.2)

  7. Step 600

    600 (this color)

    #4165CA

    oklch(53.5% 0.162 266.3)

  8. Step 700

    700

    #3859B5

    oklch(49.1% 0.151 266.1)

  9. Step 800

    800

    #2F4993

    oklch(42.7% 0.126 266.5)

  10. Step 900

    900

    #293E75

    oklch(37.7% 0.098 266.1)

  11. Step 950

    950

    #182544

    oklch(27% 0.061 265.4)

Export this scale for Tailwind in the Tailwind colors tool

#4165CA 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)#2B72CE0.035
Deuteranopia (no green cones)#0065C80.038
Tritanopia (no blue cones)#007D8E0.133
Achromatopsia (no color)#6B6B6B0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #4165CA

    #4165CA

    oklch(53.5% 0.162 266.3)

  • #896800

    #896800

    oklch(53.6% 0.11 86.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4165CA

    #4165CA

    oklch(53.5% 0.162 266.3)

  • #0076A7

    #0076A7

    oklch(53.5% 0.116 236.3)

  • #7853BF

    #7853BF

    oklch(53.5% 0.163 296.3)

Open the analogous palette in the generator

Split complementary

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

  • #4165CA

    #4165CA

    oklch(53.5% 0.162 266.3)

  • #A45500

    #A45500

    oklch(53.4% 0.13 56.3)

  • #6A7500

    #6A7500

    oklch(53.5% 0.122 116.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4165CA

    #4165CA

    oklch(53.5% 0.162 266.3)

  • #B93B37

    #B93B37

    oklch(53.5% 0.163 26.1)

  • #01842A

    #01842A

    oklch(53.4% 0.162 146.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4165CA

    #4165CA

    oklch(53.5% 0.162 266.3)

  • #B13A70

    #B13A70

    oklch(53.5% 0.162 356.1)

  • #896800

    #896800

    oklch(53.6% 0.11 86.7)

  • #00806B

    #00806B

    oklch(53.6% 0.1 175.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4165CA 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.