#4065CA

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

Aa

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

About this color

#4065CA is a medium-dark, vivid blue. In OKLCH its lightness is 53%, 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.34:1.

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

Values

HEX#4065CA
RGBrgb(64, 101, 202)
HSLhsl(224, 57%, 52%)
OKLCHoklch(53.5% 0.162 265.9)

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 #4065CA 5.34:1 AA Lc -81.6 Fine for body text
Black text on #4065CA 3.93:1 AA large text Lc 27.8 Dividers and decoration only
#4065CA text on white 5.34:1 AA Lc 76.2 Fine for body text
#4065CA text on black 3.93:1 AA large text Lc -25.5 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

    #AAC0F1

    oklch(80.8% 0.074 265.9)

  5. Step 400

    400

    #7E9EEA

    oklch(70.7% 0.118 266.1)

  6. Step 500

    500

    #5E84E3

    oklch(63% 0.149 265.9)

  7. Step 600

    600 (this color)

    #4065CA

    oklch(53.5% 0.162 265.9)

  8. Step 700

    700

    #3859B5

    oklch(49.1% 0.151 266.1)

  9. Step 800

    800

    #2E4993

    oklch(42.6% 0.126 266.1)

  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

#4065CA 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.037
Tritanopia (no blue cones)#007D8E0.133
Achromatopsia (no color)#6B6B6B0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #4065CA

    #4065CA

    oklch(53.5% 0.162 265.9)

  • #896700

    #896700

    oklch(53.4% 0.109 85.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4065CA

    #4065CA

    oklch(53.5% 0.162 265.9)

  • #0076A6

    #0076A6

    oklch(53.5% 0.115 235.7)

  • #7753BF

    #7753BF

    oklch(53.4% 0.163 295.8)

Open the analogous palette in the generator

Split complementary

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

  • #4065CA

    #4065CA

    oklch(53.5% 0.162 265.9)

  • #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.

  • #4065CA

    #4065CA

    oklch(53.5% 0.162 265.9)

  • #B93B37

    #B93B37

    oklch(53.5% 0.163 26.1)

  • #038429

    #038429

    oklch(53.4% 0.162 146)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4065CA

    #4065CA

    oklch(53.5% 0.162 265.9)

  • #B13A70

    #B13A70

    oklch(53.5% 0.162 356.1)

  • #896700

    #896700

    oklch(53.4% 0.109 85.8)

  • #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 #4065CA, closest first.

Similar named colors

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

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