#223F9F

Closest named color: Sapphire (#2138AB). oklch(40.9% 0.16 266.4), rgb(34, 63, 159).

Aa

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

About this color

#223F9F is a dark, vivid blue. In OKLCH its lightness is 41%, its chroma 0.160 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Sapphire (#2138AB), ΔE 0.025 away. White text reads best on it, at 9.21:1.

Hue familyBlues
Lightnessdark (41%)
Chromavivid (0.160)
Temperaturecool
Nearest nameSapphire (#2138AB)
Black text2.27:1
White text9.21:1

Values

HEX#223F9F
RGBrgb(34, 63, 159)
HSLhsl(226, 65%, 38%)
OKLCHoklch(40.9% 0.16 266.4)

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 #223F9F 9.21:1 AAA Lc -95.1 Preferred for body text
Black text on #223F9F 2.27:1 Fails Lc 13.3 Not readable
#223F9F text on white 9.21:1 AAA Lc 90.7 Preferred for body text
#223F9F text on black 2.27:1 Fails Lc -11.7 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

    #F1F5FE

    oklch(97% 0.013 266.7)

  2. Step 100

    100

    #E1EAFD

    oklch(93.6% 0.028 265.4)

  3. Step 200

    200

    #C9D9FC

    oklch(88.5% 0.051 265.9)

  4. Step 300

    300

    #A5C0FE

    oklch(81% 0.093 266.2)

  5. Step 400

    400

    #759CFD

    oklch(70.7% 0.149 266.1)

  6. Step 500

    500

    #547FFB

    oklch(63% 0.191 266.5)

  7. Step 600

    600

    #3B65EA

    oklch(55.6% 0.206 266.3)

  8. Step 700

    700

    #2E52CC

    oklch(49% 0.193 266.5)

  9. Step 800

    800 (this color)

    #223F9F

    oklch(40.9% 0.16 266.4)

  10. Step 900

    900

    #233B83

    oklch(37.8% 0.125 266.5)

  11. Step 950

    950

    #14234C

    oklch(26.9% 0.078 266.1)

Export this scale for Tailwind in the Tailwind colors tool

#223F9F 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)#004EA20.039
Deuteranopia (no green cones)#00429D0.020
Tritanopia (no blue cones)#0057680.125
Achromatopsia (no color)#4848480.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #223F9F

    #223F9F

    oklch(40.9% 0.16 266.4)

  • #5E4600

    #5E4600

    oklch(40.9% 0.084 86.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #223F9F

    #223F9F

    oklch(40.9% 0.16 266.4)

  • #005074

    #005074

    oklch(40.9% 0.089 237.1)

  • #552D94

    #552D94

    oklch(40.8% 0.16 296.4)

Open the analogous palette in the generator

Split complementary

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

  • #223F9F

    #223F9F

    oklch(40.9% 0.16 266.4)

  • #723900

    #723900

    oklch(41% 0.1 56.1)

  • #485000

    #485000

    oklch(41% 0.094 116.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #223F9F

    #223F9F

    oklch(40.9% 0.16 266.4)

  • #8D0B13

    #8D0B13

    oklch(41% 0.16 26.3)

  • #005B1A

    #005B1A

    oklch(41% 0.124 146.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #223F9F

    #223F9F

    oklch(40.9% 0.16 266.4)

  • #860B4C

    #860B4C

    oklch(40.9% 0.16 356.5)

  • #5E4600

    #5E4600

    oklch(40.9% 0.084 86.2)

  • #005749

    #005749

    oklch(40.8% 0.076 176.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #223F9F.

Similar named colors

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

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