#224877

Closest named color: Twilight Blue (#0A437A). oklch(39.9% 0.091 255), rgb(34, 72, 119).

Aa

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

About this color

#224877 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.091 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.025 away. White text reads best on it, at 9.28:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.26:1
White text9.28:1

Values

HEX#224877
RGBrgb(34, 72, 119)
HSLhsl(213, 56%, 30%)
OKLCHoklch(39.9% 0.091 255)

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 #224877 9.28:1 AAA Lc -95.5 Preferred for body text
Black text on #224877 2.26:1 Fails Lc 12.8 Not readable
#224877 text on white 9.28:1 AAA Lc 91.2 Preferred for body text
#224877 text on black 2.26:1 Fails Lc -11.2 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C9DBF2

    oklch(88.5% 0.037 254.6)

  4. Step 300

    300

    #A3C3ED

    oklch(80.8% 0.069 255.4)

  5. Step 400

    400

    #71A3E3

    oklch(70.6% 0.109 255)

  6. Step 500

    500

    #4A8BDC

    oklch(63.2% 0.14 255.1)

  7. Step 600

    600

    #2A73C9

    oklch(55.6% 0.151 255)

  8. Step 700

    700

    #1C60AE

    oklch(49.1% 0.141 255)

  9. Step 800

    800

    #1A4F8D

    oklch(42.8% 0.117 254.9)

  10. Step 900

    900 (this color)

    #224877

    oklch(39.9% 0.091 255)

  11. Step 950

    950

    #112742

    oklch(27% 0.058 254.7)

Export this scale for Tailwind in the Tailwind colors tool

#224877 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)#334B790.022
Deuteranopia (no green cones)#2643760.015
Tritanopia (no blue cones)#0053590.073
Achromatopsia (no color)#4747470.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #224877

    #224877

    oklch(39.9% 0.091 255)

  • #614000

    #614000

    oklch(39.9% 0.084 75.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #224877

    #224877

    oklch(39.9% 0.091 255)

  • #004F66

    #004F66

    oklch(39.8% 0.076 225.6)

  • #433F76

    #433F76

    oklch(39.9% 0.091 284.8)

Open the analogous palette in the generator

Split complementary

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

  • #224877

    #224877

    oklch(39.9% 0.091 255)

  • #6E3519

    #6E3519

    oklch(39.9% 0.09 45)

  • #4E4900

    #4E4900

    oklch(39.8% 0.084 105.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #224877

    #224877

    oklch(39.9% 0.091 255)

  • #703037

    #703037

    oklch(39.9% 0.091 15.4)

  • #31521B

    #31521B

    oklch(40% 0.091 134.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #224877

    #224877

    oklch(39.9% 0.091 255)

  • #693152

    #693152

    oklch(39.9% 0.091 345.6)

  • #614000

    #614000

    oklch(39.9% 0.084 75.9)

  • #00553C

    #00553C

    oklch(39.8% 0.083 165.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #224877 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.