#22478E

Closest named color: Cobalt (#1E488F). oklch(41.3% 0.125 261.8), rgb(34, 71, 142).

Aa

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

About this color

#22478E is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.125 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.004 away. White text reads best on it, at 8.89:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.35:1
White text8.89:1

Values

HEX#22478E
RGBrgb(34, 71, 142)
HSLhsl(219, 61%, 35%)
OKLCHoklch(41.3% 0.125 261.8)

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 #22478E 8.89:1 AAA Lc -94.5 Preferred for body text
Black text on #22478E 2.35:1 Fails Lc 14.0 Not readable
#22478E text on white 8.89:1 AAA Lc 90.0 Preferred for body text
#22478E text on black 2.35:1 Fails Lc -12.3 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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CBDAF5

    oklch(88.6% 0.041 262.3)

  4. Step 300

    300

    #A7C1F1

    oklch(80.8% 0.074 262.5)

  5. Step 400

    400

    #78A0EA

    oklch(70.7% 0.118 262.1)

  6. Step 500

    500

    #5587E3

    oklch(63.2% 0.149 261.6)

  7. Step 600

    600

    #3A6ED1

    oklch(55.6% 0.163 261.8)

  8. Step 700

    700

    #2D5BB5

    oklch(49% 0.152 262.1)

  9. Step 800

    800 (this color)

    #22478E

    oklch(41.3% 0.125 261.8)

  10. Step 900

    900

    #233F75

    oklch(37.6% 0.099 262.1)

  11. Step 950

    950

    #152644

    oklch(27.1% 0.061 261)

Export this scale for Tailwind in the Tailwind colors tool

#22478E 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)#1F4F910.022
Deuteranopia (no green cones)#00458D0.022
Tritanopia (no blue cones)#0058630.100
Achromatopsia (no color)#4A4A4A0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #22478E

    #22478E

    oklch(41.3% 0.125 261.8)

  • #624500

    #624500

    oklch(41.2% 0.085 81.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22478E

    #22478E

    oklch(41.3% 0.125 261.8)

  • #005270

    #005270

    oklch(41.2% 0.084 231.7)

  • #4E3A88

    #4E3A88

    oklch(41.2% 0.125 291.8)

Open the analogous palette in the generator

Split complementary

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

  • #22478E

    #22478E

    oklch(41.3% 0.125 261.8)

  • #763600

    #763600

    oklch(41.1% 0.106 51.6)

  • #4D4F00

    #4D4F00

    oklch(41.2% 0.091 111.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22478E

    #22478E

    oklch(41.3% 0.125 261.8)

  • #82262B

    #82262B

    oklch(41.3% 0.126 21.6)

  • #165B10

    #165B10

    oklch(41.3% 0.126 142)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22478E

    #22478E

    oklch(41.3% 0.125 261.8)

  • #7B2752

    #7B2752

    oklch(41.4% 0.125 352.3)

  • #624500

    #624500

    oklch(41.2% 0.085 81.2)

  • #005946

    #005946

    oklch(41.3% 0.08 171.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #22478E 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.