#407FA2

Closest named color: Cerulean (#457B9D). oklch(57% 0.084 235.2), rgb(64, 127, 162).

Aa

Black text reads best on this color (4.77:1).

About this color

#407FA2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.084 and its hue 235°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean (#457B9D), ΔE 0.012 away. Black text reads best on it, at 4.77:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameCerulean (#457B9D)
Black text4.77:1
White text4.39:1

Values

HEX#407FA2
RGBrgb(64, 127, 162)
HSLhsl(201, 43%, 44%)
OKLCHoklch(57% 0.084 235.2)

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 #407FA2 4.39:1 AA large text Lc -75.8 Fine for body text
Black text on #407FA2 4.77:1 AA Lc 33.8 Non-text elements, placeholder text
#407FA2 text on white 4.39:1 AA large text Lc 70.3 Content text, not long reading
#407FA2 text on black 4.77:1 AA Lc -31.4 Non-text elements, placeholder text

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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBF0

    oklch(93.5% 0.011 234.8)

  3. Step 200

    200

    #CCDCE5

    oklch(88.5% 0.021 232.2)

  4. Step 300

    300

    #AAC5D6

    oklch(80.9% 0.038 235.6)

  5. Step 400

    400

    #7CA7C1

    oklch(70.7% 0.06 235.3)

  6. Step 500

    500

    #5891B2

    oklch(63% 0.078 235.3)

  7. Step 600

    600 (this color)

    #407FA2

    oklch(57% 0.084 235.2)

  8. Step 700

    700

    #2D6787

    oklch(49% 0.079 235.8)

  9. Step 800

    800

    #27546E

    oklch(42.6% 0.066 236.5)

  10. Step 900

    900

    #254659

    oklch(37.8% 0.051 235.5)

  11. Step 950

    950

    #162934

    oklch(27% 0.032 235.1)

Export this scale for Tailwind in the Tailwind colors tool

#407FA2 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)#6E7EA40.052
Deuteranopia (no green cones)#6174A10.044
Tritanopia (no blue cones)#00888B0.060
Achromatopsia (no color)#7878780.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #407FA2

    #407FA2

    oklch(57% 0.084 235.2)

  • #9E6A45

    #9E6A45

    oklch(57.1% 0.084 55.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #407FA2

    #407FA2

    oklch(57% 0.084 235.2)

  • #2A858F

    #2A858F

    oklch(56.9% 0.084 205.6)

  • #5F76A9

    #5F76A9

    oklch(56.9% 0.084 265.2)

Open the analogous palette in the generator

Split complementary

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

  • #407FA2

    #407FA2

    oklch(57% 0.084 235.2)

  • #A3635E

    #A3635E

    oklch(56.9% 0.084 24.8)

  • #8E7338

    #8E7338

    oklch(56.9% 0.084 84.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #407FA2

    #407FA2

    oklch(57% 0.084 235.2)

  • #9F6279

    #9F6279

    oklch(57% 0.084 355.9)

  • #757D40

    #757D40

    oklch(56.9% 0.085 115.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #407FA2

    #407FA2

    oklch(57% 0.084 235.2)

  • #916693

    #916693

    oklch(57.1% 0.084 325.1)

  • #9E6A45

    #9E6A45

    oklch(57.1% 0.084 55.6)

  • #568558

    #568558

    oklch(57% 0.085 145.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #407FA2 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.