#151D40

Closest named color: Oxford Blue (#1B263B). oklch(24.5% 0.067 271), rgb(21, 29, 64).

Aa

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

About this color

#151D40 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.067 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.035 away. White text reads best on it, at 16.38:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.067)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.28:1
White text16.38:1

Values

HEX#151D40
RGBrgb(21, 29, 64)
HSLhsl(229, 51%, 17%)
OKLCHoklch(24.5% 0.067 271)

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 #151D40 16.38:1 AAA Lc -105.7 Preferred for body text
Black text on #151D40 1.28:1 Fails Lc 0.0 Not readable
#151D40 text on white 16.38:1 AAA Lc 103.2 Preferred for body text
#151D40 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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9FA

    oklch(93.5% 0.024 272.8)

  3. Step 200

    200

    #CED8F7

    oklch(88.4% 0.044 271.3)

  4. Step 300

    300

    #ADBEF5

    oklch(80.8% 0.08 271.2)

  5. Step 400

    400

    #839BF0

    oklch(70.7% 0.128 270.9)

  6. Step 500

    500

    #6680EB

    oklch(63.2% 0.163 270.8)

  7. Step 600

    600

    #4F66D9

    oklch(55.5% 0.177 271)

  8. Step 700

    700

    #4154BC

    oklch(49.1% 0.164 271.2)

  9. Step 800

    800

    #354698

    oklch(42.8% 0.135 270.8)

  10. Step 900

    900

    #2E3B79

    oklch(37.6% 0.106 271.5)

  11. Step 950

    950 (this color)

    #151D40

    oklch(24.5% 0.067 271)

Export this scale for Tailwind in the Tailwind colors tool

#151D40 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)#0C22410.018
Deuteranopia (no green cones)#051E3F0.019
Tritanopia (no blue cones)#00252B0.059
Achromatopsia (no color)#2020200.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #151D40

    #151D40

    oklch(24.5% 0.067 271)

  • #291F00

    #291F00

    oklch(24.4% 0.05 91.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151D40

    #151D40

    oklch(24.5% 0.067 271)

  • #002339

    #002339

    oklch(24.5% 0.057 241.3)

  • #26173B

    #26173B

    oklch(24.5% 0.068 300.8)

Open the analogous palette in the generator

Split complementary

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

  • #151D40

    #151D40

    oklch(24.5% 0.067 271)

  • #331900

    #331900

    oklch(24.5% 0.056 61.8)

  • #1C2400

    #1C2400

    oklch(24.4% 0.059 121.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151D40

    #151D40

    oklch(24.5% 0.067 271)

  • #3A110B

    #3A110B

    oklch(24.4% 0.067 30.8)

  • #00290F

    #00290F

    oklch(24.6% 0.066 151.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151D40

    #151D40

    oklch(24.5% 0.067 271)

  • #39101E

    #39101E

    oklch(24.6% 0.067 2.2)

  • #291F00

    #291F00

    oklch(24.4% 0.05 91.4)

  • #002722

    #002722

    oklch(24.5% 0.044 182.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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