#227BAB

Closest named color: Nice Blue (#107AB0). oklch(55.5% 0.11 237.8), rgb(34, 123, 171).

Aa

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

About this color

#227BAB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 55%, its chroma 0.110 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.011 away. White text reads best on it, at 4.67:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.110)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.48:1
White text4.67:1

Values

HEX#227BAB
RGBrgb(34, 123, 171)
HSLhsl(201, 67%, 40%)
OKLCHoklch(55.5% 0.11 237.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 #227BAB 4.67:1 AA Lc -77.6 Fine for body text
Black text on #227BAB 4.48:1 AA large text Lc 32.0 Non-text elements, placeholder text
#227BAB text on white 4.67:1 AA Lc 72.1 Content text, not long reading
#227BAB text on black 4.48:1 AA large text Lc -29.6 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 600.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E1EBF2

    oklch(93.5% 0.014 238)

  3. Step 200

    200

    #C9DCE9

    oklch(88.4% 0.027 237.6)

  4. Step 300

    300

    #A4C6DD

    oklch(80.9% 0.049 237.8)

  5. Step 400

    400

    #70A8CC

    oklch(70.6% 0.079 237.6)

  6. Step 500

    500

    #4792BF

    oklch(63.1% 0.101 237.6)

  7. Step 600

    600 (this color)

    #227BAB

    oklch(55.5% 0.11 237.8)

  8. Step 700

    700

    #136893

    oklch(49.1% 0.101 237.5)

  9. Step 800

    800

    #155577

    oklch(42.7% 0.084 237.3)

  10. Step 900

    900

    #1A4660

    oklch(37.6% 0.065 238)

  11. Step 950

    950

    #112938

    oklch(26.9% 0.041 238.3)

Export this scale for Tailwind in the Tailwind colors tool

#227BAB 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)#647BAD0.061
Deuteranopia (no green cones)#526EAA0.050
Tritanopia (no blue cones)#00878C0.070
Achromatopsia (no color)#7474740.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #227BAB

    #227BAB

    oklch(55.5% 0.11 237.8)

  • #A26129

    #A26129

    oklch(55.5% 0.11 58)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #227BAB

    #227BAB

    oklch(55.5% 0.11 237.8)

  • #008290

    #008290

    oklch(55.5% 0.095 208)

  • #576FB3

    #576FB3

    oklch(55.4% 0.11 268)

Open the analogous palette in the generator

Split complementary

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

  • #227BAB

    #227BAB

    oklch(55.5% 0.11 237.8)

  • #AA574E

    #AA574E

    oklch(55.4% 0.111 27.6)

  • #8E6E0D

    #8E6E0D

    oklch(55.5% 0.11 87.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #227BAB

    #227BAB

    oklch(55.5% 0.11 237.8)

  • #A55573

    #A55573

    oklch(55.4% 0.11 357.5)

  • #6E7B26

    #6E7B26

    oklch(55.5% 0.109 117.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #227BAB

    #227BAB

    oklch(55.5% 0.11 237.8)

  • #955A93

    #955A93

    oklch(55.4% 0.11 328.1)

  • #A26129

    #A26129

    oklch(55.5% 0.11 58)

  • #41844D

    #41844D

    oklch(55.5% 0.109 147.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #227BAB 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.