#22578F

Closest named color: Dusk Blue (#26538D). oklch(45.1% 0.108 252.5), rgb(34, 87, 143).

Aa

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

About this color

#22578F is a medium-dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.108 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.011 away. White text reads best on it, at 7.42:1.

Hue familyBlues
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.82:1
White text7.42:1

Values

HEX#22578F
RGBrgb(34, 87, 143)
HSLhsl(211, 62%, 35%)
OKLCHoklch(45.1% 0.108 252.5)

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 #22578F 7.42:1 AAA Lc -90.3 Preferred for body text
Black text on #22578F 2.82:1 Fails Lc 18.5 Dividers and decoration only
#22578F text on white 7.42:1 AAA Lc 85.5 Fine for body text
#22578F text on black 2.82:1 Fails Lc -16.5 Dividers and decoration only

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

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C9DBF0

    oklch(88.4% 0.035 252.3)

  4. Step 300

    300

    #A4C4E9

    oklch(80.9% 0.063 252.3)

  5. Step 400

    400

    #72A4DE

    oklch(70.7% 0.101 252.8)

  6. Step 500

    500

    #4B8CD5

    oklch(63% 0.129 252.9)

  7. Step 600

    600

    #2B75C2

    oklch(55.6% 0.14 252.5)

  8. Step 700

    700

    #1D62A7

    oklch(49.1% 0.129 252.3)

  9. Step 800

    800 (this color)

    #22578F

    oklch(45.1% 0.108 252.5)

  10. Step 900

    900

    #1C436D

    oklch(37.7% 0.085 252.5)

  11. Step 950

    950

    #122740

    oklch(26.9% 0.054 254)

Export this scale for Tailwind in the Tailwind colors tool

#22578F 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)#3D5B910.031
Deuteranopia (no green cones)#2C518E0.018
Tritanopia (no blue cones)#00646C0.081
Achromatopsia (no color)#5555550.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #22578F

    #22578F

    oklch(45.1% 0.108 252.5)

  • #764B00

    #764B00

    oklch(45.1% 0.097 71.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22578F

    #22578F

    oklch(45.1% 0.108 252.5)

  • #005F77

    #005F77

    oklch(45% 0.084 222.8)

  • #4E4C8F

    #4E4C8F

    oklch(45.2% 0.107 282.6)

Open the analogous palette in the generator

Split complementary

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

  • #22578F

    #22578F

    oklch(45.1% 0.108 252.5)

  • #853E1F

    #853E1F

    oklch(45.1% 0.107 42.7)

  • #605700

    #605700

    oklch(45.1% 0.095 102.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22578F

    #22578F

    oklch(45.1% 0.108 252.5)

  • #863845

    #863845

    oklch(45% 0.107 12.2)

  • #3D611A

    #3D611A

    oklch(44.9% 0.107 132.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22578F

    #22578F

    oklch(45.1% 0.108 252.5)

  • #7D3A66

    #7D3A66

    oklch(45.1% 0.109 342.3)

  • #764B00

    #764B00

    oklch(45.1% 0.097 71.9)

  • #006645

    #006645

    oklch(45.1% 0.098 162.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #22578F 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.