#154098

Closest named color: Cobalt (#1E488F). oklch(40.1% 0.152 262.3), rgb(21, 64, 152).

Aa

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

About this color

#154098 is a dark, vivid blue. In OKLCH its lightness is 40%, its chroma 0.152 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.029 away. White text reads best on it, at 9.46:1.

Hue familyBlues
Lightnessdark (40%)
Chromavivid (0.152)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.21:1
White text9.46:1

Values

HEX#154098
RGBrgb(21, 64, 152)
HSLhsl(220, 76%, 34%)
OKLCHoklch(40.1% 0.152 262.3)

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 #154098 9.46:1 AAA Lc -95.6 Preferred for body text
Black text on #154098 2.21:1 Fails Lc 12.7 Not readable
#154098 text on white 9.46:1 AAA Lc 91.3 Preferred for body text
#154098 text on black 2.21:1 Fails Lc -11.1 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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #DFEAFF

    oklch(93.5% 0.031 263.5)

  3. Step 200

    200

    #C5DAFF

    oklch(88.5% 0.056 261.8)

  4. Step 300

    300

    #9FC1FF

    oklch(80.9% 0.096 262.2)

  5. Step 400

    400

    #6B9EFF

    oklch(70.7% 0.153 262.2)

  6. Step 500

    500

    #4382FF

    oklch(63.2% 0.197 262.2)

  7. Step 600

    600

    #1261FF

    oklch(55.6% 0.245 262.3)

  8. Step 700

    700

    #004DE1

    oklch(49% 0.233 262.3)

  9. Step 800

    800

    #0540B7

    oklch(42.6% 0.195 262.4)

  10. Step 900

    900 (this color)

    #154098

    oklch(40.1% 0.152 262.3)

  11. Step 950

    950

    #0A2254

    oklch(26.9% 0.096 262.5)

Export this scale for Tailwind in the Tailwind colors tool

#154098 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)#004C9B0.031
Deuteranopia (no green cones)#0040960.011
Tritanopia (no blue cones)#0056650.117
Achromatopsia (no color)#4646460.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #154098

    #154098

    oklch(40.1% 0.152 262.3)

  • #5E4300

    #5E4300

    oklch(40.2% 0.083 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #154098

    #154098

    oklch(40.1% 0.152 262.3)

  • #004F6C

    #004F6C

    oklch(40.1% 0.081 231.6)

  • #4D2F91

    #4D2F91

    oklch(40% 0.153 292.1)

Open the analogous palette in the generator

Split complementary

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

  • #154098

    #154098

    oklch(40.1% 0.152 262.3)

  • #713400

    #713400

    oklch(40% 0.103 52.1)

  • #494C00

    #494C00

    oklch(40% 0.089 112.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #154098

    #154098

    oklch(40.1% 0.152 262.3)

  • #870E1E

    #870E1E

    oklch(40% 0.152 22.3)

  • #025800

    #025800

    oklch(39.9% 0.135 142.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #154098

    #154098

    oklch(40.1% 0.152 262.3)

  • #7F1150

    #7F1150

    oklch(40% 0.152 352.1)

  • #5E4300

    #5E4300

    oklch(40.2% 0.083 82.4)

  • #005543

    #005543

    oklch(40% 0.078 172.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #154098 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.