#227DA8

Closest named color: Nice Blue (#107AB0). oklch(55.8% 0.105 234.3), rgb(34, 125, 168).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.105)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.56:1
White text4.59:1

Values

HEX#227DA8
RGBrgb(34, 125, 168)
HSLhsl(199, 66%, 40%)
OKLCHoklch(55.8% 0.105 234.3)

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 #227DA8 4.59:1 AA Lc -77.0 Fine for body text
Black text on #227DA8 4.56:1 AA Lc 32.5 Non-text elements, placeholder text
#227DA8 text on white 4.59:1 AA Lc 71.6 Content text, not long reading
#227DA8 text on black 4.56:1 AA Lc -30.1 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C9DCE8

    oklch(88.4% 0.026 235.4)

  4. Step 300

    300

    #A4C6DB

    oklch(80.9% 0.047 235.3)

  5. Step 400

    400

    #70A9C9

    oklch(70.7% 0.076 233.9)

  6. Step 500

    500

    #4693BB

    oklch(63.1% 0.097 233.9)

  7. Step 600

    600 (this color)

    #227DA8

    oklch(55.8% 0.105 234.3)

  8. Step 700

    700

    #116990

    oklch(49.2% 0.098 234.4)

  9. Step 800

    800

    #145674

    oklch(42.8% 0.08 233.4)

  10. Step 900

    900

    #19475E

    oklch(37.8% 0.063 233.8)

  11. Step 950

    950

    #102A37

    oklch(27.1% 0.04 232.6)

Export this scale for Tailwind in the Tailwind colors tool

#227DA8 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)#687CAA0.065
Deuteranopia (no green cones)#5670A70.053
Tritanopia (no blue cones)#00888C0.064
Achromatopsia (no color)#7575750.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #227DA8

    #227DA8

    oklch(55.8% 0.105 234.3)

  • #A36132

    #A36132

    oklch(55.8% 0.106 54)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #227DA8

    #227DA8

    oklch(55.8% 0.105 234.3)

  • #00848E

    #00848E

    oklch(55.9% 0.095 204.2)

  • #5472B2

    #5472B2

    oklch(55.8% 0.106 264.2)

Open the analogous palette in the generator

Split complementary

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

  • #227DA8

    #227DA8

    oklch(55.8% 0.105 234.3)

  • #A95955

    #A95955

    oklch(55.8% 0.106 24)

  • #916E1A

    #916E1A

    oklch(55.9% 0.105 84.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #227DA8

    #227DA8

    oklch(55.8% 0.105 234.3)

  • #A35878

    #A35878

    oklch(55.8% 0.105 354.1)

  • #737A28

    #737A28

    oklch(55.7% 0.105 114)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #227DA8

    #227DA8

    oklch(55.8% 0.105 234.3)

  • #925D96

    #925D96

    oklch(55.7% 0.105 324.4)

  • #A36132

    #A36132

    oklch(55.8% 0.106 54)

  • #4A844B

    #4A844B

    oklch(55.9% 0.106 144.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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