#151838

Closest named color: Rich Black (#0D1B2A). oklch(22.6% 0.061 276.3), rgb(21, 24, 56).

Aa

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

About this color

#151838 is a very dark, muted blue. In OKLCH its lightness is 23%, its chroma 0.061 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.034 away. White text reads best on it, at 17.21:1.

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.061)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.21:1
White text17.21:1

Values

HEX#151838
RGBrgb(21, 24, 56)
HSLhsl(235, 45%, 15%)
OKLCHoklch(22.6% 0.061 276.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 #151838 17.21:1 AAA Lc -106.3 Preferred for body text
Black text on #151838 1.21:1 Fails Lc 0.0 Not readable
#151838 text on white 17.21:1 AAA Lc 104.0 Preferred for body text
#151838 text on black 1.21: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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D1D7F4

    oklch(88.4% 0.04 276.3)

  4. Step 300

    300

    #B4BDF0

    oklch(80.9% 0.073 276.8)

  5. Step 400

    400

    #8D9AE8

    oklch(70.7% 0.115 275.8)

  6. Step 500

    500

    #737EE2

    oklch(63.1% 0.149 276.5)

  7. Step 600

    600

    #5D65CF

    oklch(55.5% 0.161 276.5)

  8. Step 700

    700

    #4D54B4

    oklch(49.2% 0.15 276.3)

  9. Step 800

    800

    #3F4591

    oklch(42.7% 0.123 276.4)

  10. Step 900

    900

    #353B74

    oklch(37.8% 0.096 276.2)

  11. Step 950

    950 (this color)

    #151838

    oklch(22.6% 0.061 276.3)

Export this scale for Tailwind in the Tailwind colors tool

#151838 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)#091D390.021
Deuteranopia (no green cones)#051A370.022
Tritanopia (no blue cones)#051F250.054
Achromatopsia (no color)#1B1B1B0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #151838

    #151838

    oklch(22.6% 0.061 276.3)

  • #221C00

    #221C00

    oklch(22.7% 0.047 98)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151838

    #151838

    oklch(22.6% 0.061 276.3)

  • #001E35

    #001E35

    oklch(22.7% 0.057 245.1)

  • #231332

    #231332

    oklch(22.6% 0.061 306)

Open the analogous palette in the generator

Split complementary

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

  • #151838

    #151838

    oklch(22.6% 0.061 276.3)

  • #2B1600

    #2B1600

    oklch(22.5% 0.05 66)

  • #152000

    #152000

    oklch(22.5% 0.057 125.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151838

    #151838

    oklch(22.6% 0.061 276.3)

  • #330F06

    #330F06

    oklch(22.6% 0.061 35.8)

  • #002311

    #002311

    oklch(22.5% 0.054 156.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151838

    #151838

    oklch(22.6% 0.061 276.3)

  • #320D17

    #320D17

    oklch(22.5% 0.061 6.7)

  • #221C00

    #221C00

    oklch(22.7% 0.047 98)

  • #00221F

    #00221F

    oklch(22.7% 0.04 186.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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