#154A87

Closest named color: Cobalt (#1E488F). oklch(41% 0.116 254.9), rgb(21, 74, 135).

Aa

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

About this color

#154A87 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.116 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.016 away. White text reads best on it, at 8.89:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.36:1
White text8.89:1

Values

HEX#154A87
RGBrgb(21, 74, 135)
HSLhsl(212, 73%, 31%)
OKLCHoklch(41% 0.116 254.9)

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 #154A87 8.89:1 AAA Lc -94.4 Preferred for body text
Black text on #154A87 2.36:1 Fails Lc 14.0 Not readable
#154A87 text on white 8.89:1 AAA Lc 89.9 Fine for body text
#154A87 text on black 2.36:1 Fails Lc -12.3 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 800.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C9DBF2

    oklch(88.5% 0.037 254.6)

  4. Step 300

    300

    #A4C3EC

    oklch(80.9% 0.067 255.5)

  5. Step 400

    400

    #71A3E3

    oklch(70.6% 0.109 255)

  6. Step 500

    500

    #4A8BDB

    oklch(63.1% 0.138 254.8)

  7. Step 600

    600

    #2B73C8

    oklch(55.5% 0.15 255)

  8. Step 700

    700

    #1D60AD

    oklch(49% 0.139 254.9)

  9. Step 800

    800 (this color)

    #154A87

    oklch(41% 0.116 254.9)

  10. Step 900

    900

    #1C4270

    oklch(37.7% 0.09 254.8)

  11. Step 950

    950

    #122742

    oklch(27.1% 0.057 255.5)

Export this scale for Tailwind in the Tailwind colors tool

#154A87 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)#2A4F890.025
Deuteranopia (no green cones)#1345860.015
Tritanopia (no blue cones)#0059620.087
Achromatopsia (no color)#4A4A4A0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #154A87

    #154A87

    oklch(41% 0.116 254.9)

  • #654200

    #654200

    oklch(40.9% 0.086 74.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #154A87

    #154A87

    oklch(41% 0.116 254.9)

  • #00536A

    #00536A

    oklch(41.1% 0.078 224.6)

  • #463E85

    #463E85

    oklch(41% 0.115 285.3)

Open the analogous palette in the generator

Split complementary

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

  • #154A87

    #154A87

    oklch(41% 0.116 254.9)

  • #7B3002

    #7B3002

    oklch(41% 0.116 44.8)

  • #524C00

    #524C00

    oklch(40.9% 0.087 104.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #154A87

    #154A87

    oklch(41% 0.116 254.9)

  • #7D2936

    #7D2936

    oklch(41.1% 0.116 14.7)

  • #2C5706

    #2C5706

    oklch(41% 0.115 134.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #154A87

    #154A87

    oklch(41% 0.116 254.9)

  • #742B59

    #742B59

    oklch(41% 0.117 344.7)

  • #654200

    #654200

    oklch(40.9% 0.086 74.9)

  • #00593E

    #00593E

    oklch(41.1% 0.087 164.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #154A87 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.