#40535F

Closest named color: Dark Slate Gray (#2F4F4F). oklch(43.1% 0.031 236.2), rgb(64, 83, 95).

Aa

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

About this color

#40535F is a dark, muted blue. In OKLCH its lightness is 43%, its chroma 0.031 and its hue 236°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.037 away. White text reads best on it, at 8.01:1.

Hue familyBlues
Lightnessdark (43%)
Chromamuted (0.031)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.62:1
White text8.01:1

Values

HEX#40535F
RGBrgb(64, 83, 95)
HSLhsl(203, 19%, 31%)
OKLCHoklch(43.1% 0.031 236.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 #40535F 8.01:1 AAA Lc -92.4 Preferred for body text
Black text on #40535F 2.62:1 Fails Lc 16.2 Dividers and decoration only
#40535F text on white 8.01:1 AAA Lc 87.8 Fine for body text
#40535F text on black 2.62:1 Fails Lc -14.4 Not readable

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 800.

  1. Step 50

    50

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E7EAED

    oklch(93.6% 0.005 247.9)

  3. Step 200

    200

    #D3DADF

    oklch(88.4% 0.01 238.5)

  4. Step 300

    300

    #B6C3CB

    oklch(81% 0.018 234.6)

  5. Step 400

    400

    #90A4B0

    oklch(70.7% 0.029 234.2)

  6. Step 500

    500

    #758D9D

    oklch(63% 0.037 237.4)

  7. Step 600

    600

    #5D7788

    oklch(55.5% 0.04 237.1)

  8. Step 700

    700

    #4D6473

    oklch(49% 0.037 237.1)

  9. Step 800

    800 (this color)

    #40535F

    oklch(43.1% 0.031 236.2)

  10. Step 900

    900

    #36444D

    oklch(37.8% 0.024 236.5)

  11. Step 950

    950

    #1F282D

    oklch(27% 0.016 232.4)

Export this scale for Tailwind in the Tailwind colors tool

#40535F 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)#4E52600.021
Deuteranopia (no green cones)#494F5F0.017
Tritanopia (no blue cones)#3656570.023
Achromatopsia (no color)#5050500.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #40535F

    #40535F

    oklch(43.1% 0.031 236.2)

  • #5E4C40

    #5E4C40

    oklch(43.2% 0.031 55.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40535F

    #40535F

    oklch(43.1% 0.031 236.2)

  • #3C5558

    #3C5558

    oklch(43.1% 0.031 205.4)

  • #485062

    #485062

    oklch(43.1% 0.032 266.2)

Open the analogous palette in the generator

Split complementary

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

  • #40535F

    #40535F

    oklch(43.1% 0.031 236.2)

  • #604A47

    #604A47

    oklch(43.1% 0.031 27.3)

  • #584F3D

    #584F3D

    oklch(43.1% 0.031 84.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40535F

    #40535F

    oklch(43.1% 0.031 236.2)

  • #5F4950

    #5F4950

    oklch(43.1% 0.032 357.6)

  • #4F523F

    #4F523F

    oklch(43% 0.03 115)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40535F

    #40535F

    oklch(43.1% 0.031 236.2)

  • #594A59

    #594A59

    oklch(43% 0.031 326.1)

  • #5E4C40

    #5E4C40

    oklch(43.2% 0.031 55.4)

  • #455546

    #455546

    oklch(43.1% 0.032 146.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40535F 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.