#22317C

Closest named color: Marine Blue (#01386A). oklch(35% 0.128 269.9), rgb(34, 49, 124).

Aa

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

About this color

#22317C is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.128 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.045 away. White text reads best on it, at 11.67:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.128)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.79:1
White text11.67:1

Values

HEX#22317C
RGBrgb(34, 49, 124)
HSLhsl(230, 57%, 31%)
OKLCHoklch(35% 0.128 269.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 #22317C 11.67:1 AAA Lc -100.1 Preferred for body text
Black text on #22317C 1.79:1 Fails Lc 7.5 Not readable
#22317C text on white 11.67:1 AAA Lc 96.4 Preferred for body text
#22317C text on black 1.79: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 900.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2E9FD

    oklch(93.5% 0.028 270.4)

  3. Step 200

    200

    #CBD8FD

    oklch(88.4% 0.053 270)

  4. Step 300

    300

    #A8BEFF

    oklch(80.9% 0.096 269.8)

  5. Step 400

    400

    #7C99FF

    oklch(70.6% 0.153 270.2)

  6. Step 500

    500

    #5D7CFE

    oklch(63.1% 0.196 269.9)

  7. Step 600

    600

    #4660EE

    oklch(55.5% 0.214 269.9)

  8. Step 700

    700

    #384ECF

    oklch(49% 0.199 269.8)

  9. Step 800

    800

    #2E41A7

    oklch(42.6% 0.165 269.8)

  10. Step 900

    900 (this color)

    #22317C

    oklch(35% 0.128 269.9)

  11. Step 950

    950

    #17224E

    oklch(27% 0.082 269.6)

Export this scale for Tailwind in the Tailwind colors tool

#22317C 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)#003D7F0.036
Deuteranopia (no green cones)#00347B0.026
Tritanopia (no blue cones)#0044510.105
Achromatopsia (no color)#3838380.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #22317C

    #22317C

    oklch(35% 0.128 269.9)

  • #493800

    #493800

    oklch(35% 0.071 89.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22317C

    #22317C

    oklch(35% 0.128 269.9)

  • #003F60

    #003F60

    oklch(35.1% 0.08 240.1)

  • #462472

    #462472

    oklch(35% 0.128 299.8)

Open the analogous palette in the generator

Split complementary

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

  • #22317C

    #22317C

    oklch(35% 0.128 269.9)

  • #592E00

    #592E00

    oklch(35% 0.083 59.6)

  • #354000

    #354000

    oklch(34.9% 0.083 120)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22317C

    #22317C

    oklch(35% 0.128 269.9)

  • #6E1109

    #6E1109

    oklch(34.9% 0.128 29.8)

  • #00481C

    #00481C

    oklch(35.1% 0.098 149.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22317C

    #22317C

    oklch(35% 0.128 269.9)

  • #6A0E38

    #6A0E38

    oklch(34.9% 0.128 359.6)

  • #493800

    #493800

    oklch(35% 0.071 89.7)

  • #00453C

    #00453C

    oklch(35% 0.063 180.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #22317C 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.