#151F30

Closest named color: Dark (#1B2431). oklch(23.9% 0.036 260.7), rgb(21, 31, 48).

Aa

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

About this color

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

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

Values

HEX#151F30
RGBrgb(21, 31, 48)
HSLhsl(218, 39%, 14%)
OKLCHoklch(23.9% 0.036 260.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 #151F30 16.52:1 AAA Lc -105.9 Preferred for body text
Black text on #151F30 1.27:1 Fails Lc 0.0 Not readable
#151F30 text on white 16.52:1 AAA Lc 103.4 Preferred for body text
#151F30 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #D0DAE9

    oklch(88.5% 0.023 258.4)

  4. Step 300

    300

    #B1C2DD

    oklch(81% 0.043 259.6)

  5. Step 400

    400

    #88A2CC

    oklch(70.8% 0.068 259.9)

  6. Step 500

    500

    #6B8ABE

    oklch(63.1% 0.086 260.5)

  7. Step 600

    600

    #5373AB

    oklch(55.6% 0.095 261.1)

  8. Step 700

    700

    #436093

    oklch(49% 0.089 261.1)

  9. Step 800

    800

    #384F77

    oklch(42.8% 0.073 261)

  10. Step 900

    900

    #304260

    oklch(37.8% 0.057 260.3)

  11. Step 950

    950 (this color)

    #151F30

    oklch(23.9% 0.036 260.7)

Export this scale for Tailwind in the Tailwind colors tool

#151F30 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)#1920310.008
Deuteranopia (no green cones)#161E300.004
Tritanopia (no blue cones)#0A23250.033
Achromatopsia (no color)#1F1F1F0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #151F30

    #151F30

    oklch(23.9% 0.036 260.7)

  • #281D09

    #281D09

    oklch(23.9% 0.037 80.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151F30

    #151F30

    oklch(23.9% 0.036 260.7)

  • #0A222D

    #0A222D

    oklch(23.9% 0.036 230.8)

  • #1F1C2F

    #1F1C2F

    oklch(23.9% 0.036 290.6)

Open the analogous palette in the generator

Split complementary

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

  • #151F30

    #151F30

    oklch(23.9% 0.036 260.7)

  • #2D1A0F

    #2D1A0F

    oklch(24% 0.036 50.4)

  • #20200B

    #20200B

    oklch(23.8% 0.035 108.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151F30

    #151F30

    oklch(23.9% 0.036 260.7)

  • #2E1818

    #2E1818

    oklch(23.9% 0.036 20)

  • #152313

    #152313

    oklch(23.8% 0.036 141.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151F30

    #151F30

    oklch(23.9% 0.036 260.7)

  • #2C1821

    #2C1821

    oklch(24% 0.035 351.6)

  • #281D09

    #281D09

    oklch(23.9% 0.037 80.4)

  • #0A241C

    #0A241C

    oklch(23.7% 0.036 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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