#151F35

Closest named color: Dark (#1B2431). oklch(24.2% 0.045 264.7), rgb(21, 31, 53).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.045)
Temperaturecool
Nearest nameDark (#1B2431)
Black text1.27:1
White text16.41:1

Values

HEX#151F35
RGBrgb(21, 31, 53)
HSLhsl(221, 43%, 15%)
OKLCHoklch(24.2% 0.045 264.7)

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 #151F35 16.41:1 AAA Lc -105.8 Preferred for body text
Black text on #151F35 1.27:1 Fails Lc 0.0 Not readable
#151F35 text on white 16.41:1 AAA Lc 103.3 Preferred for body text
#151F35 text on black 1.27: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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #D0D9ED

    oklch(88.5% 0.029 266.4)

  4. Step 300

    300

    #B0C1E4

    oklch(81% 0.053 264.7)

  5. Step 400

    400

    #86A0D6

    oklch(70.6% 0.085 264.4)

  6. Step 500

    500

    #6988CB

    oklch(63.2% 0.108 264.6)

  7. Step 600

    600

    #5170B8

    oklch(55.5% 0.118 265.2)

  8. Step 700

    700

    #415E9F

    oklch(49.1% 0.11 264.6)

  9. Step 800

    800

    #364D81

    oklch(42.8% 0.091 264.8)

  10. Step 900

    900

    #2F4067

    oklch(37.6% 0.071 265.3)

  11. Step 950

    950 (this color)

    #151F35

    oklch(24.2% 0.045 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#151F35 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)#1621360.007
Deuteranopia (no green cones)#131E350.005
Tritanopia (no blue cones)#0724270.041
Achromatopsia (no color)#1F1F1F0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #151F35

    #151F35

    oklch(24.2% 0.045 264.7)

  • #291E03

    #291E03

    oklch(24.2% 0.045 86.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151F35

    #151F35

    oklch(24.2% 0.045 264.7)

  • #052332

    #052332

    oklch(24.3% 0.045 234.5)

  • #211B33

    #211B33

    oklch(24.2% 0.045 294.2)

Open the analogous palette in the generator

Split complementary

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

  • #151F35

    #151F35

    oklch(24.2% 0.045 264.7)

  • #301909

    #301909

    oklch(24.1% 0.045 53.6)

  • #1F2207

    #1F2207

    oklch(24.2% 0.044 115)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151F35

    #151F35

    oklch(24.2% 0.045 264.7)

  • #321715

    #321715

    oklch(24.3% 0.044 25.3)

  • #112512

    #112512

    oklch(24.1% 0.044 145.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151F35

    #151F35

    oklch(24.2% 0.045 264.7)

  • #301621

    #301621

    oklch(24.2% 0.045 354.2)

  • #291E03

    #291E03

    oklch(24.2% 0.045 86.8)

  • #01261E

    #01261E

    oklch(24% 0.044 174.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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