#227FB2

Closest named color: Nice Blue (#107AB0). oklch(56.8% 0.114 238.4), rgb(34, 127, 178).

Aa

Black text reads best on this color (4.74:1).

About this color

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

Hue familyBlues
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.74:1
White text4.42:1

Values

HEX#227FB2
RGBrgb(34, 127, 178)
HSLhsl(201, 68%, 42%)
OKLCHoklch(56.8% 0.114 238.4)

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 #227FB2 4.42:1 AA large text Lc -75.8 Fine for body text
Black text on #227FB2 4.74:1 AA Lc 33.8 Non-text elements, placeholder text
#227FB2 text on white 4.42:1 AA large text Lc 70.3 Content text, not long reading
#227FB2 text on black 4.74:1 AA Lc -31.4 Non-text elements, placeholder text

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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1ECF3

    oklch(93.7% 0.015 235.4)

  3. Step 200

    200

    #C9DCEA

    oklch(88.5% 0.028 239.7)

  4. Step 300

    300

    #A3C6DF

    oklch(80.9% 0.052 239.4)

  5. Step 400

    400

    #6EA8CE

    oklch(70.6% 0.082 238.2)

  6. Step 500

    500

    #4492C2

    oklch(63.1% 0.105 238.6)

  7. Step 600

    600 (this color)

    #227FB2

    oklch(56.8% 0.114 238.4)

  8. Step 700

    700

    #0B6896

    oklch(49.2% 0.106 238.5)

  9. Step 800

    800

    #105579

    oklch(42.7% 0.087 237.9)

  10. Step 900

    900

    #184662

    oklch(37.7% 0.069 239.2)

  11. Step 950

    950

    #0F2939

    oklch(26.9% 0.044 238.4)

Export this scale for Tailwind in the Tailwind colors tool

#227FB2 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)#677FB40.062
Deuteranopia (no green cones)#5372B10.050
Tritanopia (no blue cones)#008C910.074
Achromatopsia (no color)#7878780.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #227FB2

    #227FB2

    oklch(56.8% 0.114 238.4)

  • #A86428

    #A86428

    oklch(56.9% 0.114 58.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #227FB2

    #227FB2

    oklch(56.8% 0.114 238.4)

  • #008695

    #008695

    oklch(56.7% 0.098 208.5)

  • #5A73BA

    #5A73BA

    oklch(56.8% 0.114 268)

Open the analogous palette in the generator

Split complementary

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

  • #227FB2

    #227FB2

    oklch(56.8% 0.114 238.4)

  • #B05A4F

    #B05A4F

    oklch(56.8% 0.114 28.7)

  • #927207

    #927207

    oklch(56.8% 0.114 88.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #227FB2

    #227FB2

    oklch(56.8% 0.114 238.4)

  • #AB5876

    #AB5876

    oklch(56.8% 0.113 358.4)

  • #718026

    #718026

    oklch(56.9% 0.115 118.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #227FB2

    #227FB2

    oklch(56.8% 0.114 238.4)

  • #9B5D98

    #9B5D98

    oklch(56.9% 0.114 328.7)

  • #A86428

    #A86428

    oklch(56.9% 0.114 58.3)

  • #40894F

    #40894F

    oklch(56.8% 0.115 148.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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