#40568C

Closest named color: Denim Blue (#3B5B92). oklch(46.1% 0.092 266.1), rgb(64, 86, 140).

Aa

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

About this color

#40568C is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.092 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.016 away. White text reads best on it, at 7.17:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text2.92:1
White text7.17:1

Values

HEX#40568C
RGBrgb(64, 86, 140)
HSLhsl(223, 37%, 40%)
OKLCHoklch(46.1% 0.092 266.1)

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 #40568C 7.17:1 AAA Lc -89.7 Fine for body text
Black text on #40568C 2.92:1 Fails Lc 19.3 Dividers and decoration only
#40568C text on white 7.17:1 AAA Lc 84.8 Fine for body text
#40568C text on black 2.92:1 Fails Lc -17.2 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D1D9EA

    oklch(88.4% 0.025 265.6)

  4. Step 300

    300

    #B3C1DE

    oklch(81% 0.044 264.9)

  5. Step 400

    400

    #8CA0CE

    oklch(70.7% 0.071 266.3)

  6. Step 500

    500

    #6F88C1

    oklch(63.1% 0.091 265.7)

  7. Step 600

    600

    #5871AE

    oklch(55.6% 0.1 266.3)

  8. Step 700

    700 (this color)

    #40568C

    oklch(46.1% 0.092 266.1)

  9. Step 800

    800

    #3B4D79

    oklch(42.6% 0.077 266.3)

  10. Step 900

    900

    #334161

    oklch(37.8% 0.058 265.6)

  11. Step 950

    950

    #1E2639

    oklch(27% 0.037 266.4)

Export this scale for Tailwind in the Tailwind colors tool

#40568C 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)#405B8E0.014
Deuteranopia (no green cones)#38548B0.012
Tritanopia (no blue cones)#1A626A0.084
Achromatopsia (no color)#5757570.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #40568C

    #40568C

    oklch(46.1% 0.092 266.1)

  • #6F5405

    #6F5405

    oklch(46.1% 0.092 86.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40568C

    #40568C

    oklch(46.1% 0.092 266.1)

  • #125F85

    #125F85

    oklch(46% 0.093 236.6)

  • #5D4D86

    #5D4D86

    oklch(46.2% 0.092 295.5)

Open the analogous palette in the generator

Split complementary

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

  • #40568C

    #40568C

    oklch(46.1% 0.092 266.1)

  • #7F491E

    #7F491E

    oklch(46.1% 0.093 56)

  • #565E18

    #565E18

    oklch(46% 0.092 115.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40568C

    #40568C

    oklch(46.1% 0.092 266.1)

  • #84423C

    #84423C

    oklch(46.1% 0.092 26.6)

  • #326638

    #326638

    oklch(46.2% 0.092 146.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40568C

    #40568C

    oklch(46.1% 0.092 266.1)

  • #80415A

    #80415A

    oklch(46.2% 0.092 356.1)

  • #6F5405

    #6F5405

    oklch(46.1% 0.092 86.4)

  • #006857

    #006857

    oklch(46.2% 0.086 176.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40568C 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.