#152F4F

Closest named color: Prussian Blue (#1D3557). oklch(30.2% 0.067 254.8), rgb(21, 47, 79).

Aa

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

About this color

#152F4F is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.067 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.025 away. White text reads best on it, at 13.53:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.067)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.55:1
White text13.53:1

Values

HEX#152F4F
RGBrgb(21, 47, 79)
HSLhsl(213, 58%, 20%)
OKLCHoklch(30.2% 0.067 254.8)

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 #152F4F 13.53:1 AAA Lc -103.0 Preferred for body text
Black text on #152F4F 1.55:1 Fails Lc 0.0 Not readable
#152F4F text on white 13.53:1 AAA Lc 99.8 Preferred for body text
#152F4F text on black 1.55: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

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C6DBF6

    oklch(88.4% 0.044 254.8)

  4. Step 300

    300

    #9EC4F3

    oklch(80.9% 0.078 254)

  5. Step 400

    400

    #68A3EE

    oklch(70.7% 0.127 255.1)

  6. Step 500

    500

    #3B8AE8

    oklch(63.1% 0.161 254.8)

  7. Step 600

    600

    #0F72D6

    oklch(55.7% 0.174 254.6)

  8. Step 700

    700

    #005FB8

    oklch(49.1% 0.16 254.6)

  9. Step 800

    800

    #074E96

    oklch(42.8% 0.134 254.6)

  10. Step 900

    900

    #124178

    oklch(37.6% 0.106 255.1)

  11. Step 950

    950 (this color)

    #152F4F

    oklch(30.2% 0.067 254.8)

Export this scale for Tailwind in the Tailwind colors tool

#152F4F 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)#2131500.017
Deuteranopia (no green cones)#182C4E0.010
Tritanopia (no blue cones)#00363B0.052
Achromatopsia (no color)#2E2E2E0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #152F4F

    #152F4F

    oklch(30.2% 0.067 254.8)

  • #412900

    #412900

    oklch(30.3% 0.064 75)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #152F4F

    #152F4F

    oklch(30.2% 0.067 254.8)

  • #003444

    #003444

    oklch(30.2% 0.057 225.1)

  • #2B294E

    #2B294E

    oklch(30.3% 0.066 284.2)

Open the analogous palette in the generator

Split complementary

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

  • #152F4F

    #152F4F

    oklch(30.2% 0.067 254.8)

  • #49220F

    #49220F

    oklch(30.2% 0.066 45.1)

  • #343000

    #343000

    oklch(30.4% 0.064 104.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #152F4F

    #152F4F

    oklch(30.2% 0.067 254.8)

  • #4A1F24

    #4A1F24

    oklch(30.3% 0.066 14.6)

  • #1F3611

    #1F3611

    oklch(30.4% 0.067 135.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #152F4F

    #152F4F

    oklch(30.2% 0.067 254.8)

  • #451F36

    #451F36

    oklch(30.2% 0.067 344.6)

  • #412900

    #412900

    oklch(30.3% 0.064 75)

  • #003826

    #003826

    oklch(30.2% 0.064 164.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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