#405F88

Closest named color: Denim (#3B638C). oklch(48% 0.076 255.8), rgb(64, 95, 136).

Aa

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

About this color

#405F88 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 48%, its chroma 0.076 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.012 away. White text reads best on it, at 6.54:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.21:1
White text6.54:1

Values

HEX#405F88
RGBrgb(64, 95, 136)
HSLhsl(214, 36%, 39%)
OKLCHoklch(48% 0.076 255.8)

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 #405F88 6.54:1 AA Lc -87.4 Fine for body text
Black text on #405F88 3.21:1 AA large text Lc 21.7 Dividers and decoration only
#405F88 text on white 6.54:1 AA Lc 82.3 Fine for body text
#405F88 text on black 3.21:1 AA large text Lc -19.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 700.

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D0DAE7

    oklch(88.5% 0.021 254.9)

  4. Step 300

    300

    #B1C2D9

    oklch(80.8% 0.038 256)

  5. Step 400

    400

    #89A3C5

    oklch(70.8% 0.058 255.3)

  6. Step 500

    500

    #6B8CB7

    oklch(63.2% 0.075 255.3)

  7. Step 600

    600

    #5375A3

    oklch(55.6% 0.082 256.2)

  8. Step 700

    700 (this color)

    #405F88

    oklch(48% 0.076 255.8)

  9. Step 800

    800

    #375071

    oklch(42.6% 0.063 255.7)

  10. Step 900

    900

    #30435B

    oklch(37.8% 0.048 254.6)

  11. Step 950

    950

    #1C2736

    oklch(27% 0.032 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#405F88 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)#4F618A0.021
Deuteranopia (no green cones)#465A870.015
Tritanopia (no blue cones)#1C686D0.068
Achromatopsia (no color)#5D5D5D0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #405F88

    #405F88

    oklch(48% 0.076 255.8)

  • #765728

    #765728

    oklch(47.9% 0.076 75.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405F88

    #405F88

    oklch(48% 0.076 255.8)

  • #23667E

    #23667E

    oklch(47.9% 0.076 225.7)

  • #5A5787

    #5A5787

    oklch(48% 0.076 286)

Open the analogous palette in the generator

Split complementary

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

  • #405F88

    #405F88

    oklch(48% 0.076 255.8)

  • #814F38

    #814F38

    oklch(47.9% 0.076 45.2)

  • #636029

    #636029

    oklch(47.9% 0.076 106.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405F88

    #405F88

    oklch(48% 0.076 255.8)

  • #834B4F

    #834B4F

    oklch(48% 0.076 15.7)

  • #4A673B

    #4A673B

    oklch(47.9% 0.075 135.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405F88

    #405F88

    oklch(48% 0.076 255.8)

  • #7C4B67

    #7C4B67

    oklch(47.9% 0.077 345.1)

  • #765728

    #765728

    oklch(47.9% 0.076 75.5)

  • #2C6B53

    #2C6B53

    oklch(47.9% 0.076 165.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #405F88 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.