#151F36

Closest named color: Dark (#1B2431). oklch(24.3% 0.047 265.3), rgb(21, 31, 54).

Aa

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

About this color

#151F36 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.047 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.025 away. White text reads best on it, at 16.39:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.047)
Temperaturecool
Nearest nameDark (#1B2431)
Black text1.28:1
White text16.39:1

Values

HEX#151F36
RGBrgb(21, 31, 54)
HSLhsl(222, 44%, 15%)
OKLCHoklch(24.3% 0.047 265.3)

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 #151F36 16.39:1 AAA Lc -105.8 Preferred for body text
Black text on #151F36 1.28:1 Fails Lc 0.0 Not readable
#151F36 text on white 16.39:1 AAA Lc 103.3 Preferred for body text
#151F36 text on black 1.28:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF5

    oklch(93.6% 0.016 266.3)

  3. Step 200

    200

    #CFD9EE

    oklch(88.4% 0.031 265.3)

  4. Step 300

    300

    #B0C1E5

    oklch(81% 0.054 265.2)

  5. Step 400

    400

    #86A0D8

    oklch(70.7% 0.088 265)

  6. Step 500

    500

    #6887CE

    oklch(63.1% 0.113 265.4)

  7. Step 600

    600

    #5070BB

    oklch(55.6% 0.123 265.2)

  8. Step 700

    700

    #415DA1

    oklch(49% 0.114 265.5)

  9. Step 800

    800

    #364C82

    oklch(42.6% 0.094 265.8)

  10. Step 900

    900

    #2E4069

    oklch(37.7% 0.074 265.1)

  11. Step 950

    950 (this color)

    #151F36

    oklch(24.3% 0.047 265.3)

Export this scale for Tailwind in the Tailwind colors tool

#151F36 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)#1621370.007
Deuteranopia (no green cones)#121E350.006
Tritanopia (no blue cones)#0624270.043
Achromatopsia (no color)#1F1F1F0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #151F36

    #151F36

    oklch(24.3% 0.047 265.3)

  • #2A1E02

    #2A1E02

    oklch(24.3% 0.047 85.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151F36

    #151F36

    oklch(24.3% 0.047 265.3)

  • #042333

    #042333

    oklch(24.3% 0.047 235.6)

  • #221B33

    #221B33

    oklch(24.3% 0.046 296.3)

Open the analogous palette in the generator

Split complementary

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

  • #151F36

    #151F36

    oklch(24.3% 0.047 265.3)

  • #311908

    #311908

    oklch(24.3% 0.047 53.8)

  • #1F2206

    #1F2206

    oklch(24.2% 0.045 115)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151F36

    #151F36

    oklch(24.3% 0.047 265.3)

  • #331614

    #331614

    oklch(24.2% 0.047 25.2)

  • #102612

    #102612

    oklch(24.4% 0.047 145.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151F36

    #151F36

    oklch(24.3% 0.047 265.3)

  • #311621

    #311621

    oklch(24.3% 0.046 355.3)

  • #2A1E02

    #2A1E02

    oklch(24.3% 0.047 85.6)

  • #00271F

    #00271F

    oklch(24.4% 0.046 175.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #151F36 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.