#284151

Closest named color: Charcoal (#264653). oklch(36.2% 0.042 237.6), rgb(40, 65, 81).

Aa

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

About this color

#284151 is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.042 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Charcoal (#264653), ΔE 0.016 away. White text reads best on it, at 10.68:1.

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.042)
Temperaturecool
Nearest nameCharcoal (#264653)
Black text1.96:1
White text10.68:1

Values

HEX#284151
RGBrgb(40, 65, 81)
HSLhsl(203, 34%, 24%)
OKLCHoklch(36.2% 0.042 237.6)

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 #284151 10.68:1 AAA Lc -98.6 Preferred for body text
Black text on #284151 1.96:1 Fails Lc 9.2 Not readable
#284151 text on white 10.68:1 AAA Lc 94.7 Preferred for body text
#284151 text on black 1.96:1 Fails Lc -7.9 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 900.

  1. Step 50

    50

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EBEF

    oklch(93.7% 0.008 236.6)

  3. Step 200

    200

    #CFDBE3

    oklch(88.5% 0.017 236.7)

  4. Step 300

    300

    #AFC4D3

    oklch(80.9% 0.031 238.9)

  5. Step 400

    400

    #84A6BC

    oklch(70.8% 0.049 236.8)

  6. Step 500

    500

    #6490AC

    oklch(63.2% 0.064 237.1)

  7. Step 600

    600

    #4A7997

    oklch(55.5% 0.069 237.8)

  8. Step 700

    700

    #3B6681

    oklch(49.1% 0.065 237.6)

  9. Step 800

    800

    #315369

    oklch(42.6% 0.054 238.2)

  10. Step 900

    900 (this color)

    #284151

    oklch(36.2% 0.042 237.6)

  11. Step 950

    950

    #1A2832

    oklch(26.9% 0.027 240.1)

Export this scale for Tailwind in the Tailwind colors tool

#284151 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)#3A41520.025
Deuteranopia (no green cones)#343C510.022
Tritanopia (no blue cones)#1645460.033
Achromatopsia (no color)#3E3E3E0.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #284151

    #284151

    oklch(36.2% 0.042 237.6)

  • #4E3828

    #4E3828

    oklch(36.1% 0.041 57.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #284151

    #284151

    oklch(36.2% 0.042 237.6)

  • #214449

    #214449

    oklch(36.3% 0.041 207.5)

  • #343D54

    #343D54

    oklch(36.2% 0.042 267.8)

Open the analogous palette in the generator

Split complementary

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

  • #284151

    #284151

    oklch(36.2% 0.042 237.6)

  • #513532

    #513532

    oklch(36.1% 0.041 26.1)

  • #473C24

    #473C24

    oklch(36.1% 0.041 85.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #284151

    #284151

    oklch(36.2% 0.042 237.6)

  • #50353E

    #50353E

    oklch(36.4% 0.041 357.7)

  • #3C4127

    #3C4127

    oklch(36.3% 0.042 117.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #284151

    #284151

    oklch(36.2% 0.042 237.6)

  • #4A3649

    #4A3649

    oklch(36.3% 0.042 328)

  • #4E3828

    #4E3828

    oklch(36.1% 0.041 57.1)

  • #2F4431

    #2F4431

    oklch(36.3% 0.042 147.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #284151 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.