#152A42

Closest named color: Oxford Blue (#1B263B). oklch(28% 0.052 253), rgb(21, 42, 66).

Aa

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

About this color

#152A42 is a dark, muted blue. In OKLCH its lightness is 28%, its chroma 0.052 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.017 away. White text reads best on it, at 14.56:1.

Hue familyBlues
Lightnessdark (28%)
Chromamuted (0.052)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.44:1
White text14.56:1

Values

HEX#152A42
RGBrgb(21, 42, 66)
HSLhsl(212, 52%, 17%)
OKLCHoklch(28% 0.052 253)

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 #152A42 14.56:1 AAA Lc -104.2 Preferred for body text
Black text on #152A42 1.44:1 Fails Lc 0.0 Not readable
#152A42 text on white 14.56:1 AAA Lc 101.3 Preferred for body text
#152A42 text on black 1.44: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF6

    oklch(93.7% 0.018 253.3)

  3. Step 200

    200

    #CADBF0

    oklch(88.5% 0.034 253.7)

  4. Step 300

    300

    #A5C4E8

    oklch(81% 0.061 252.4)

  5. Step 400

    400

    #73A4DD

    oklch(70.7% 0.099 252.9)

  6. Step 500

    500

    #4D8CD4

    oklch(63.1% 0.127 253.2)

  7. Step 600

    600

    #2E75C1

    oklch(55.6% 0.138 252.9)

  8. Step 700

    700

    #2062A6

    oklch(49.1% 0.127 252.6)

  9. Step 800

    800

    #1D5087

    oklch(42.7% 0.106 253)

  10. Step 900

    900

    #1E436C

    oklch(37.7% 0.082 252.9)

  11. Step 950

    950 (this color)

    #152A42

    oklch(28% 0.052 253)

Export this scale for Tailwind in the Tailwind colors tool

#152A42 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)#202B430.016
Deuteranopia (no green cones)#1A27420.011
Tritanopia (no blue cones)#0030330.044
Achromatopsia (no color)#2929290.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #152A42

    #152A42

    oklch(28% 0.052 253)

  • #382407

    #382407

    oklch(27.9% 0.052 72.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #152A42

    #152A42

    oklch(28% 0.052 253)

  • #002E3C

    #002E3C

    oklch(28% 0.053 224.2)

  • #252542

    #252542

    oklch(28% 0.053 282.4)

Open the analogous palette in the generator

Split complementary

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

  • #152A42

    #152A42

    oklch(28% 0.052 253)

  • #3E2013

    #3E2013

    oklch(28.1% 0.052 43.7)

  • #2E2A06

    #2E2A06

    oklch(28.1% 0.053 102.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #152A42

    #152A42

    oklch(28% 0.052 253)

  • #3F1D22

    #3F1D22

    oklch(28% 0.053 11.8)

  • #1F2E12

    #1F2E12

    oklch(28% 0.051 132.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #152A42

    #152A42

    oklch(28% 0.052 253)

  • #3B1E30

    #3B1E30

    oklch(28.1% 0.053 343.1)

  • #382407

    #382407

    oklch(27.9% 0.052 72.5)

  • #0A3121

    #0A3121

    oklch(28.1% 0.053 162.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #152A42 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.