#223F7B

Closest named color: Twilight Blue (#0A437A). oklch(38% 0.108 262.9), rgb(34, 63, 123).

Aa

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

About this color

#223F7B is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.108 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.019 away. White text reads best on it, at 10.16:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.06:1
White text10.16:1

Values

HEX#223F7B
RGBrgb(34, 63, 123)
HSLhsl(220, 57%, 31%)
OKLCHoklch(38% 0.108 262.9)

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 #223F7B 10.16:1 AAA Lc -97.4 Preferred for body text
Black text on #223F7B 2.06:1 Fails Lc 10.6 Not readable
#223F7B text on white 10.16:1 AAA Lc 93.3 Preferred for body text
#223F7B text on black 2.06:1 Fails Lc -9.2 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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #CADAF8

    oklch(88.6% 0.045 263.1)

  4. Step 300

    300

    #A5C1F6

    oklch(80.9% 0.081 263)

  5. Step 400

    400

    #759FF1

    oklch(70.7% 0.129 262.9)

  6. Step 500

    500

    #5285EC

    oklch(63.2% 0.164 262.8)

  7. Step 600

    600

    #376BDB

    oklch(55.5% 0.181 263.1)

  8. Step 700

    700

    #2A59BE

    oklch(49.1% 0.167 263)

  9. Step 800

    800

    #23499A

    oklch(42.7% 0.14 263)

  10. Step 900

    900 (this color)

    #223F7B

    oklch(38% 0.108 262.9)

  11. Step 950

    950

    #142547

    oklch(27% 0.067 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#223F7B 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)#20467D0.020
Deuteranopia (no green cones)#0B3D7A0.020
Tritanopia (no blue cones)#004D570.087
Achromatopsia (no color)#4141410.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #223F7B

    #223F7B

    oklch(38% 0.108 262.9)

  • #563E00

    #563E00

    oklch(38% 0.078 83.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #223F7B

    #223F7B

    oklch(38% 0.108 262.9)

  • #004965

    #004965

    oklch(38.1% 0.078 232.4)

  • #463476

    #463476

    oklch(38% 0.109 293.1)

Open the analogous palette in the generator

Split complementary

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

  • #223F7B

    #223F7B

    oklch(38% 0.108 262.9)

  • #693100

    #693100

    oklch(38.2% 0.097 53.2)

  • #434600

    #434600

    oklch(37.9% 0.084 112.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #223F7B

    #223F7B

    oklch(38% 0.108 262.9)

  • #712526

    #712526

    oklch(38.1% 0.108 23)

  • #165015

    #165015

    oklch(38% 0.108 142.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #223F7B

    #223F7B

    oklch(38% 0.108 262.9)

  • #6B2547

    #6B2547

    oklch(38% 0.107 353.2)

  • #563E00

    #563E00

    oklch(38% 0.078 83.8)

  • #004F3E

    #004F3E

    oklch(38.1% 0.074 172)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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