#22315A

Closest named color: Prussian Blue (#1D3557). oklch(32.3% 0.076 267), rgb(34, 49, 90).

Aa

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

About this color

#22315A is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.076 and its hue 267°. 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.68:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.65:1
White text12.68:1

Values

HEX#22315A
RGBrgb(34, 49, 90)
HSLhsl(224, 45%, 24%)
OKLCHoklch(32.3% 0.076 267)

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 #22315A 12.68:1 AAA Lc -102.0 Preferred for body text
Black text on #22315A 1.65:1 Fails Lc 0.0 Not readable
#22315A text on white 12.68:1 AAA Lc 98.6 Preferred for body text
#22315A text on black 1.65: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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFC

    oklch(93.6% 0.026 266.6)

  3. Step 200

    200

    #CAD9FB

    oklch(88.5% 0.05 266.5)

  4. Step 300

    300

    #A7BFFB

    oklch(80.8% 0.089 267.5)

  5. Step 400

    400

    #789CFA

    oklch(70.7% 0.144 266.9)

  6. Step 500

    500

    #5880F7

    oklch(63.2% 0.183 267.1)

  7. Step 600

    600

    #3F66E6

    oklch(55.7% 0.199 266.9)

  8. Step 700

    700

    #3253C8

    oklch(49.1% 0.186 267.1)

  9. Step 800

    800

    #2945A2

    oklch(42.7% 0.154 266.9)

  10. Step 900

    900

    #253B80

    oklch(37.6% 0.12 267.1)

  11. Step 950

    950 (this color)

    #22315A

    oklch(32.3% 0.076 267)

Export this scale for Tailwind in the Tailwind colors tool

#22315A 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)#1F355C0.012
Deuteranopia (no green cones)#1830590.013
Tritanopia (no blue cones)#003A410.067
Achromatopsia (no color)#3333330.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #22315A

    #22315A

    oklch(32.3% 0.076 267)

  • #423100

    #423100

    oklch(32.3% 0.066 87.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22315A

    #22315A

    oklch(32.3% 0.076 267)

  • #003853

    #003853

    oklch(32.3% 0.071 237.3)

  • #382A55

    #382A55

    oklch(32.3% 0.075 297)

Open the analogous palette in the generator

Split complementary

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

  • #22315A

    #22315A

    oklch(32.3% 0.076 267)

  • #502802

    #502802

    oklch(32.4% 0.076 57.5)

  • #313800

    #313800

    oklch(32.3% 0.075 117.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22315A

    #22315A

    oklch(32.3% 0.076 267)

  • #54221D

    #54221D

    oklch(32.3% 0.076 27.8)

  • #133E1B

    #133E1B

    oklch(32.4% 0.077 147.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22315A

    #22315A

    oklch(32.3% 0.076 267)

  • #512134

    #512134

    oklch(32.3% 0.076 357.3)

  • #423100

    #423100

    oklch(32.3% 0.066 87.5)

  • #003D33

    #003D33

    oklch(32.2% 0.059 177.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #22315A 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.