#22518B

Closest named color: Dusk Blue (#26538D). oklch(43.4% 0.109 255.3), rgb(34, 81, 139).

Aa

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

About this color

#22518B is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.109 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.008 away. White text reads best on it, at 8.02:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.109)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.61:1
White text8.02:1

Values

HEX#22518B
RGBrgb(34, 81, 139)
HSLhsl(213, 61%, 34%)
OKLCHoklch(43.4% 0.109 255.3)

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 #22518B 8.02:1 AAA Lc -92.2 Preferred for body text
Black text on #22518B 2.61:1 Fails Lc 16.5 Dividers and decoration only
#22518B text on white 8.02:1 AAA Lc 87.5 Fine for body text
#22518B text on black 2.61:1 Fails Lc -14.6 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF6

    oklch(93.7% 0.018 253.3)

  3. Step 200

    200

    #CADBF1

    oklch(88.6% 0.035 254.9)

  4. Step 300

    300

    #A6C3EA

    oklch(80.9% 0.064 255.9)

  5. Step 400

    400

    #75A3DF

    oklch(70.6% 0.102 255.4)

  6. Step 500

    500

    #508BD6

    oklch(63.1% 0.13 255.3)

  7. Step 600

    600

    #3274C4

    oklch(55.7% 0.141 255)

  8. Step 700

    700

    #2561A9

    oklch(49.2% 0.131 255.1)

  9. Step 800

    800 (this color)

    #22518B

    oklch(43.4% 0.109 255.3)

  10. Step 900

    900

    #20426E

    oklch(37.7% 0.086 255.8)

  11. Step 950

    950

    #132740

    oklch(27% 0.054 254.9)

Export this scale for Tailwind in the Tailwind colors tool

#22518B 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)#35568D0.026
Deuteranopia (no green cones)#244C8A0.014
Tritanopia (no blue cones)#005F670.085
Achromatopsia (no color)#5050500.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #22518B

    #22518B

    oklch(43.4% 0.109 255.3)

  • #6D4800

    #6D4800

    oklch(43.3% 0.091 75.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22518B

    #22518B

    oklch(43.4% 0.109 255.3)

  • #005A73

    #005A73

    oklch(43.5% 0.082 224.9)

  • #4C4689

    #4C4689

    oklch(43.4% 0.108 285)

Open the analogous palette in the generator

Split complementary

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

  • #22518B

    #22518B

    oklch(43.4% 0.109 255.3)

  • #803914

    #803914

    oklch(43.4% 0.109 44.8)

  • #585300

    #585300

    oklch(43.3% 0.092 105.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22518B

    #22518B

    oklch(43.4% 0.109 255.3)

  • #82333D

    #82333D

    oklch(43.4% 0.109 15.2)

  • #345D18

    #345D18

    oklch(43.3% 0.108 135.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22518B

    #22518B

    oklch(43.4% 0.109 255.3)

  • #79355E

    #79355E

    oklch(43.4% 0.108 345.4)

  • #6D4800

    #6D4800

    oklch(43.3% 0.091 75.4)

  • #006044

    #006044

    oklch(43.3% 0.091 165.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #22518B 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.