#223151

Closest named color: Prussian Blue (#1D3557). oklch(31.7% 0.061 264.2), rgb(34, 49, 81).

Aa

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

About this color

#223151 is a dark, muted blue. In OKLCH its lightness is 32%, its chroma 0.061 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.015 away. White text reads best on it, at 12.91:1.

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.061)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.62:1
White text12.91:1

Values

HEX#223151
RGBrgb(34, 49, 81)
HSLhsl(221, 41%, 23%)
OKLCHoklch(31.7% 0.061 264.2)

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 #223151 12.91:1 AAA Lc -102.3 Preferred for body text
Black text on #223151 1.62:1 Fails Lc 0.0 Not readable
#223151 text on white 12.91:1 AAA Lc 99.0 Preferred for body text
#223151 text on black 1.62:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CCDAF5

    oklch(88.6% 0.04 263.7)

  4. Step 300

    300

    #A9C1F0

    oklch(80.9% 0.072 263.7)

  5. Step 400

    400

    #7C9FE9

    oklch(70.7% 0.116 264.3)

  6. Step 500

    500

    #5B85E2

    oklch(63% 0.148 264.3)

  7. Step 600

    600

    #426DD0

    oklch(55.6% 0.16 264.2)

  8. Step 700

    700

    #345AB4

    oklch(49% 0.149 264.4)

  9. Step 800

    800

    #2B4A92

    oklch(42.6% 0.124 264.3)

  10. Step 900

    900

    #273F74

    oklch(37.7% 0.096 264)

  11. Step 950

    950 (this color)

    #223151

    oklch(31.7% 0.061 264.2)

Export this scale for Tailwind in the Tailwind colors tool

#223151 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)#2434520.010
Deuteranopia (no green cones)#1F30500.006
Tritanopia (no blue cones)#0A383D0.054
Achromatopsia (no color)#3232320.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #223151

    #223151

    oklch(31.7% 0.061 264.2)

  • #402F05

    #402F05

    oklch(31.6% 0.061 84.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #223151

    #223151

    oklch(31.7% 0.061 264.2)

  • #08374C

    #08374C

    oklch(31.8% 0.06 233.3)

  • #342B4E

    #342B4E

    oklch(31.6% 0.062 294.4)

Open the analogous palette in the generator

Split complementary

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

  • #223151

    #223151

    oklch(31.7% 0.061 264.2)

  • #4A2911

    #4A2911

    oklch(31.8% 0.061 54.4)

  • #32350B

    #32350B

    oklch(31.6% 0.061 113.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #223151

    #223151

    oklch(31.7% 0.061 264.2)

  • #4D2422

    #4D2422

    oklch(31.6% 0.062 24.1)

  • #1D3A1D

    #1D3A1D

    oklch(31.7% 0.061 144)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #223151

    #223151

    oklch(31.7% 0.061 264.2)

  • #4A2434

    #4A2434

    oklch(31.8% 0.061 354.5)

  • #402F05

    #402F05

    oklch(31.6% 0.061 84.9)

  • #003C30

    #003C30

    oklch(31.8% 0.06 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 #223151, closest first.

Similar named colors

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

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