#152F6F

Closest named color: Marine Blue (#01386A). oklch(32.8% 0.116 264.2), rgb(21, 47, 111).

Aa

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

About this color

#152F6F is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.116 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.029 away. White text reads best on it, at 12.58:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.66:1
White text12.58:1

Values

HEX#152F6F
RGBrgb(21, 47, 111)
HSLhsl(223, 68%, 26%)
OKLCHoklch(32.8% 0.116 264.2)

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 #152F6F 12.58:1 AAA Lc -101.6 Preferred for body text
Black text on #152F6F 1.66:1 Fails Lc 0.0 Not readable
#152F6F text on white 12.58:1 AAA Lc 98.1 Preferred for body text
#152F6F text on black 1.66: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 900.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C9DAFA

    oklch(88.6% 0.048 263.1)

  4. Step 300

    300

    #A4C0FA

    oklch(80.8% 0.088 264.5)

  5. Step 400

    400

    #749EF7

    oklch(70.7% 0.139 264)

  6. Step 500

    500

    #5182F3

    oklch(63% 0.178 264.3)

  7. Step 600

    600

    #3769E2

    oklch(55.6% 0.192 264.1)

  8. Step 700

    700

    #2A56C4

    oklch(49% 0.179 264.3)

  9. Step 800

    800

    #23479F

    oklch(42.6% 0.149 264.2)

  10. Step 900

    900 (this color)

    #152F6F

    oklch(32.8% 0.116 264.2)

  11. Step 950

    950

    #14244A

    oklch(27% 0.074 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#152F6F 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)#0038710.026
Deuteranopia (no green cones)#002F6E0.015
Tritanopia (no blue cones)#003F4A0.091
Achromatopsia (no color)#3333330.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #152F6F

    #152F6F

    oklch(32.8% 0.116 264.2)

  • #453100

    #453100

    oklch(32.7% 0.067 83.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #152F6F

    #152F6F

    oklch(32.8% 0.116 264.2)

  • #003A52

    #003A52

    oklch(32.8% 0.068 233.4)

  • #3A2369

    #3A2369

    oklch(32.7% 0.117 294.1)

Open the analogous palette in the generator

Split complementary

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

  • #152F6F

    #152F6F

    oklch(32.8% 0.116 264.2)

  • #542700

    #542700

    oklch(32.9% 0.082 54.5)

  • #343900

    #343900

    oklch(32.8% 0.075 115.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #152F6F

    #152F6F

    oklch(32.8% 0.116 264.2)

  • #631014

    #631014

    oklch(32.7% 0.116 24.3)

  • #004208

    #004208

    oklch(32.9% 0.106 144.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #152F6F

    #152F6F

    oklch(32.8% 0.116 264.2)

  • #5E1039

    #5E1039

    oklch(32.8% 0.117 353.8)

  • #453100

    #453100

    oklch(32.7% 0.067 83.7)

  • #003F32

    #003F32

    oklch(32.8% 0.063 173.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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