#152138

Closest named color: Oxford Blue (#1B263B). oklch(24.9% 0.047 262.5), rgb(21, 33, 56).

Aa

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

About this color

#152138 is a very dark, muted blue. In OKLCH its lightness is 25%, its chroma 0.047 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.020 away. White text reads best on it, at 16.07:1.

Hue familyBlues
Lightnessvery dark (25%)
Chromamuted (0.047)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.30:1
White text16.07:1

Values

HEX#152138
RGBrgb(21, 33, 56)
HSLhsl(219, 45%, 15%)
OKLCHoklch(24.9% 0.047 262.5)

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 #152138 16.07:1 AAA Lc -105.5 Preferred for body text
Black text on #152138 1.30:1 Fails Lc 0.0 Not readable
#152138 text on white 16.07:1 AAA Lc 103.0 Preferred for body text
#152138 text on black 1.30: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

    #F3F6FB

    oklch(97.2% 0.007 260.7)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CEDAEE

    oklch(88.5% 0.03 260.7)

  4. Step 300

    300

    #AEC1E6

    oklch(80.9% 0.056 263.7)

  5. Step 400

    400

    #83A1D9

    oklch(70.8% 0.089 262.5)

  6. Step 500

    500

    #6488CE

    oklch(63% 0.114 262.8)

  7. Step 600

    600

    #4B71BB

    oklch(55.6% 0.123 262.5)

  8. Step 700

    700

    #3C5EA2

    oklch(49.1% 0.116 262.8)

  9. Step 800

    800

    #324D83

    oklch(42.7% 0.096 262.9)

  10. Step 900

    900

    #2C4169

    oklch(37.8% 0.074 262.4)

  11. Step 950

    950 (this color)

    #152138

    oklch(24.9% 0.047 262.5)

Export this scale for Tailwind in the Tailwind colors tool

#152138 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)#1823390.009
Deuteranopia (no green cones)#1420380.004
Tritanopia (no blue cones)#0426290.043
Achromatopsia (no color)#2121210.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #152138

    #152138

    oklch(24.9% 0.047 262.5)

  • #2C1F03

    #2C1F03

    oklch(24.9% 0.047 83.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #152138

    #152138

    oklch(24.9% 0.047 262.5)

  • #042534

    #042534

    oklch(24.9% 0.047 232.5)

  • #221D36

    #221D36

    oklch(25% 0.047 291.8)

Open the analogous palette in the generator

Split complementary

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

  • #152138

    #152138

    oklch(24.9% 0.047 262.5)

  • #331A0A

    #331A0A

    oklch(24.9% 0.048 51.5)

  • #222406

    #222406

    oklch(25.1% 0.047 112.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #152138

    #152138

    oklch(24.9% 0.047 262.5)

  • #351817

    #351817

    oklch(25.1% 0.047 23)

  • #132712

    #132712

    oklch(24.9% 0.047 143)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #152138

    #152138

    oklch(24.9% 0.047 262.5)

  • #321724

    #321724

    oklch(24.8% 0.047 350.9)

  • #2C1F03

    #2C1F03

    oklch(24.9% 0.047 83.6)

  • #01291F

    #01291F

    oklch(25.1% 0.048 171.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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