#223D87

Closest named color: Cobalt (#1E488F). oklch(38.5% 0.128 265.6), rgb(34, 61, 135).

Aa

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

About this color

#223D87 is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.128 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.032 away. White text reads best on it, at 10.07:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.128)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.08:1
White text10.07:1

Values

HEX#223D87
RGBrgb(34, 61, 135)
HSLhsl(224, 60%, 33%)
OKLCHoklch(38.5% 0.128 265.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 #223D87 10.07:1 AAA Lc -97.1 Preferred for body text
Black text on #223D87 2.08:1 Fails Lc 11.0 Not readable
#223D87 text on white 10.07:1 AAA Lc 93.0 Preferred for body text
#223D87 text on black 2.08:1 Fails Lc -9.5 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

    #F1F5FE

    oklch(97% 0.013 266.7)

  2. Step 100

    100

    #E1EAFD

    oklch(93.6% 0.028 265.4)

  3. Step 200

    200

    #C8D9FE

    oklch(88.5% 0.054 265.8)

  4. Step 300

    300

    #A3C0FF

    oklch(80.9% 0.095 265.2)

  5. Step 400

    400

    #739CFF

    oklch(70.7% 0.152 265.7)

  6. Step 500

    500

    #4F7FFF

    oklch(63.1% 0.197 265.6)

  7. Step 600

    600

    #3664EE

    oklch(55.6% 0.214 265.6)

  8. Step 700

    700

    #2952CF

    oklch(49.1% 0.199 265.5)

  9. Step 800

    800

    #2344A7

    oklch(42.7% 0.164 265.6)

  10. Step 900

    900 (this color)

    #223D87

    oklch(38.5% 0.128 265.6)

  11. Step 950

    950

    #13234E

    oklch(27% 0.082 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#223D87 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)#06478A0.029
Deuteranopia (no green cones)#003D860.023
Tritanopia (no blue cones)#004F5C0.102
Achromatopsia (no color)#4242420.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #223D87

    #223D87

    oklch(38.5% 0.128 265.6)

  • #564000

    #564000

    oklch(38.5% 0.079 86.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #223D87

    #223D87

    oklch(38.5% 0.128 265.6)

  • #004969

    #004969

    oklch(38.3% 0.083 236)

  • #4B307F

    #4B307F

    oklch(38.5% 0.128 295.5)

Open the analogous palette in the generator

Split complementary

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

  • #223D87

    #223D87

    oklch(38.5% 0.128 265.6)

  • #693300

    #693300

    oklch(38.5% 0.095 55.1)

  • #424900

    #424900

    oklch(38.6% 0.088 115.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #223D87

    #223D87

    oklch(38.5% 0.128 265.6)

  • #7A1C1C

    #7A1C1C

    oklch(38.5% 0.129 25.6)

  • #005314

    #005314

    oklch(38.5% 0.119 145.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #223D87

    #223D87

    oklch(38.5% 0.128 265.6)

  • #741C46

    #741C46

    oklch(38.5% 0.128 355.8)

  • #564000

    #564000

    oklch(38.5% 0.079 86.5)

  • #005042

    #005042

    oklch(38.5% 0.072 175.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #223D87 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.