#21459F

Closest named color: Cobalt (#1E488F). oklch(42.1% 0.152 264.3), rgb(33, 69, 159).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (42%)
Chromavivid (0.152)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.41:1
White text8.69:1

Values

HEX#21459F
RGBrgb(33, 69, 159)
HSLhsl(223, 66%, 38%)
OKLCHoklch(42.1% 0.152 264.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 #21459F 8.69:1 AAA Lc -93.8 Preferred for body text
Black text on #21459F 2.41:1 Fails Lc 14.7 Not readable
#21459F text on white 8.69:1 AAA Lc 89.3 Fine for body text
#21459F text on black 2.41:1 Fails Lc -12.9 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFC

    oklch(93.6% 0.026 264.4)

  3. Step 200

    200

    #C9DAFB

    oklch(88.6% 0.049 263.7)

  4. Step 300

    300

    #A4C0FB

    oklch(80.8% 0.089 264.8)

  5. Step 400

    400

    #739EF9

    oklch(70.8% 0.142 264)

  6. Step 500

    500

    #5082F6

    oklch(63.1% 0.182 264.3)

  7. Step 600

    600

    #3668E5

    oklch(55.6% 0.198 264.4)

  8. Step 700

    700

    #2955C7

    oklch(49% 0.184 264.5)

  9. Step 800

    800 (this color)

    #21459F

    oklch(42.1% 0.152 264.3)

  10. Step 900

    900

    #203D80

    oklch(37.8% 0.119 264)

  11. Step 950

    950

    #13244B

    oklch(27% 0.076 264.2)

Export this scale for Tailwind in the Tailwind colors tool

#21459F 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)#0051A20.032
Deuteranopia (no green cones)#00469D0.018
Tritanopia (no blue cones)#005B6B0.118
Achromatopsia (no color)#4B4B4B0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #21459F

    #21459F

    oklch(42.1% 0.152 264.3)

  • #634900

    #634900

    oklch(42.2% 0.086 85.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21459F

    #21459F

    oklch(42.1% 0.152 264.3)

  • #005476

    #005476

    oklch(42.1% 0.089 234.5)

  • #553596

    #553596

    oklch(42.2% 0.151 294.1)

Open the analogous palette in the generator

Split complementary

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

  • #21459F

    #21459F

    oklch(42.1% 0.152 264.3)

  • #783A00

    #783A00

    oklch(42.1% 0.106 54.1)

  • #4D5300

    #4D5300

    oklch(42.2% 0.095 114.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21459F

    #21459F

    oklch(42.1% 0.152 264.3)

  • #8E181F

    #8E181F

    oklch(42.1% 0.152 24.3)

  • #005F11

    #005F11

    oklch(42.2% 0.135 144.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21459F

    #21459F

    oklch(42.1% 0.152 264.3)

  • #871953

    #871953

    oklch(42.2% 0.153 354.1)

  • #634900

    #634900

    oklch(42.2% 0.086 85.1)

  • #005B4A

    #005B4A

    oklch(42% 0.08 174.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #21459F.

Similar named colors

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

Use #21459F 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.