#152E52

Closest named color: Prussian Blue (#1D3557). oklch(30.2% 0.072 257.7), rgb(21, 46, 82).

Aa

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

About this color

#152E52 is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.072 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.026 away. White text reads best on it, at 13.59:1.

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.54:1
White text13.59:1

Values

HEX#152E52
RGBrgb(21, 46, 82)
HSLhsl(215, 59%, 20%)
OKLCHoklch(30.2% 0.072 257.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 #152E52 13.59:1 AAA Lc -103.1 Preferred for body text
Black text on #152E52 1.54:1 Fails Lc 0.0 Not readable
#152E52 text on white 13.59:1 AAA Lc 99.9 Preferred for body text
#152E52 text on black 1.54: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C6DBF9

    oklch(88.5% 0.047 257.3)

  4. Step 300

    300

    #9EC3F8

    oklch(80.9% 0.085 257.3)

  5. Step 400

    400

    #68A1F5

    oklch(70.6% 0.138 258)

  6. Step 500

    500

    #3C87F1

    oklch(63.1% 0.176 257.7)

  7. Step 600

    600

    #156EE0

    oklch(55.6% 0.191 257.7)

  8. Step 700

    700

    #035BC2

    oklch(49.1% 0.177 257.7)

  9. Step 800

    800

    #0B4B9D

    oklch(42.7% 0.147 257.8)

  10. Step 900

    900

    #13407D

    oklch(37.8% 0.114 257.4)

  11. Step 950

    950 (this color)

    #152E52

    oklch(30.2% 0.072 257.7)

Export this scale for Tailwind in the Tailwind colors tool

#152E52 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)#1D31530.014
Deuteranopia (no green cones)#142B510.010
Tritanopia (no blue cones)#00363C0.057
Achromatopsia (no color)#2E2E2E0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #152E52

    #152E52

    oklch(30.2% 0.072 257.7)

  • #3F2900

    #3F2900

    oklch(30% 0.063 77.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #152E52

    #152E52

    oklch(30.2% 0.072 257.7)

  • #003445

    #003445

    oklch(30.3% 0.058 226.6)

  • #2D2750

    #2D2750

    oklch(30.2% 0.072 288)

Open the analogous palette in the generator

Split complementary

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

  • #152E52

    #152E52

    oklch(30.2% 0.072 257.7)

  • #4B2108

    #4B2108

    oklch(30.3% 0.073 47.7)

  • #323000

    #323000

    oklch(30.1% 0.065 107.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #152E52

    #152E52

    oklch(30.2% 0.072 257.7)

  • #4C1D20

    #4C1D20

    oklch(30.2% 0.071 18.5)

  • #1B360F

    #1B360F

    oklch(30.1% 0.072 137.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #152E52

    #152E52

    oklch(30.2% 0.072 257.7)

  • #481D35

    #481D35

    oklch(30.3% 0.073 347.7)

  • #3F2900

    #3F2900

    oklch(30% 0.063 77.5)

  • #003828

    #003828

    oklch(30.2% 0.062 167.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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