#225771

Closest named color: Petrol (#005F6A). oklch(43.3% 0.07 233), rgb(34, 87, 113).

Aa

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

About this color

#225771 is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.070 and its hue 233°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.034 away. White text reads best on it, at 7.86:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text2.66:1
White text7.86:1

Values

HEX#225771
RGBrgb(34, 87, 113)
HSLhsl(200, 54%, 29%)
OKLCHoklch(43.3% 0.07 233)

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 #225771 7.86:1 AAA Lc -91.8 Preferred for body text
Black text on #225771 2.66:1 Fails Lc 16.9 Dividers and decoration only
#225771 text on white 7.86:1 AAA Lc 87.1 Fine for body text
#225771 text on black 2.66:1 Fails Lc -15.0 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2EBF1

    oklch(93.5% 0.013 236.6)

  3. Step 200

    200

    #CBDCE6

    oklch(88.5% 0.023 233.4)

  4. Step 300

    300

    #A7C6D7

    oklch(80.9% 0.041 231.9)

  5. Step 400

    400

    #77A8C3

    oklch(70.7% 0.065 233)

  6. Step 500

    500

    #5192B4

    oklch(63% 0.084 233.1)

  7. Step 600

    600

    #327CA0

    oklch(55.6% 0.091 233)

  8. Step 700

    700

    #246889

    oklch(49% 0.085 233.6)

  9. Step 800

    800 (this color)

    #225771

    oklch(43.3% 0.07 233)

  10. Step 900

    900

    #20465A

    oklch(37.6% 0.055 233.9)

  11. Step 950

    950

    #142935

    oklch(26.9% 0.035 235.2)

Export this scale for Tailwind in the Tailwind colors tool

#225771 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)#4A56720.045
Deuteranopia (no green cones)#3F4E710.039
Tritanopia (no blue cones)#005E600.045
Achromatopsia (no color)#5252520.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #225771

    #225771

    oklch(43.3% 0.07 233)

  • #6F452A

    #6F452A

    oklch(43.3% 0.071 52.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #225771

    #225771

    oklch(43.3% 0.07 233)

  • #0C5C62

    #0C5C62

    oklch(43.4% 0.07 203)

  • #3C5077

    #3C5077

    oklch(43.3% 0.07 263)

Open the analogous palette in the generator

Split complementary

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

  • #225771

    #225771

    oklch(43.3% 0.07 233)

  • #73403E

    #73403E

    oklch(43.3% 0.071 22.8)

  • #634D1E

    #634D1E

    oklch(43.3% 0.07 83.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #225771

    #225771

    oklch(43.3% 0.07 233)

  • #6E4054

    #6E4054

    oklch(43.3% 0.069 352.8)

  • #515524

    #515524

    oklch(43.4% 0.071 113.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #225771

    #225771

    oklch(43.3% 0.07 233)

  • #634367

    #634367

    oklch(43.3% 0.07 322.8)

  • #6F452A

    #6F452A

    oklch(43.3% 0.071 52.6)

  • #395B37

    #395B37

    oklch(43.5% 0.07 143)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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