#154E96

Closest named color: Cobalt (#1E488F). oklch(43% 0.132 256.6), rgb(21, 78, 150).

Aa

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

About this color

#154E96 is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.132 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.019 away. White text reads best on it, at 8.19:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.132)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.56:1
White text8.19:1

Values

HEX#154E96
RGBrgb(21, 78, 150)
HSLhsl(213, 75%, 34%)
OKLCHoklch(43% 0.132 256.6)

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 #154E96 8.19:1 AAA Lc -92.5 Preferred for body text
Black text on #154E96 2.56:1 Fails Lc 16.1 Dividers and decoration only
#154E96 text on white 8.19:1 AAA Lc 87.9 Fine for body text
#154E96 text on black 2.56:1 Fails Lc -14.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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C7DBF6

    oklch(88.5% 0.043 255.9)

  4. Step 300

    300

    #A1C3F2

    oklch(80.9% 0.076 256.6)

  5. Step 400

    400

    #6DA2EC

    oklch(70.6% 0.123 256.9)

  6. Step 500

    500

    #4489E6

    oklch(63.1% 0.157 256.7)

  7. Step 600

    600

    #2171D4

    oklch(55.6% 0.17 256.4)

  8. Step 700

    700

    #135EB8

    oklch(49.2% 0.158 256.5)

  9. Step 800

    800 (this color)

    #154E96

    oklch(43% 0.132 256.6)

  10. Step 900

    900

    #184177

    oklch(37.8% 0.103 256.6)

  11. Step 950

    950

    #0F2645

    oklch(26.9% 0.065 256.6)

Export this scale for Tailwind in the Tailwind colors tool

#154E96 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)#2555990.025
Deuteranopia (no green cones)#004A950.016
Tritanopia (no blue cones)#005F6A0.100
Achromatopsia (no color)#4F4F4F0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #154E96

    #154E96

    oklch(43% 0.132 256.6)

  • #6B4800

    #6B4800

    oklch(43% 0.09 77)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #154E96

    #154E96

    oklch(43% 0.132 256.6)

  • #005873

    #005873

    oklch(43% 0.083 227.3)

  • #4D4093

    #4D4093

    oklch(43% 0.131 286.7)

Open the analogous palette in the generator

Split complementary

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

  • #154E96

    #154E96

    oklch(43% 0.132 256.6)

  • #823500

    #823500

    oklch(42.9% 0.12 46.5)

  • #565300

    #565300

    oklch(43.1% 0.093 107.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #154E96

    #154E96

    oklch(43% 0.132 256.6)

  • #892835

    #892835

    oklch(43% 0.131 17)

  • #295F00

    #295F00

    oklch(43.1% 0.13 136.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #154E96

    #154E96

    oklch(43% 0.132 256.6)

  • #802A5E

    #802A5E

    oklch(43.1% 0.132 346.8)

  • #6B4800

    #6B4800

    oklch(43% 0.09 77)

  • #005F45

    #005F45

    oklch(43.1% 0.089 166.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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