#227CA7

Closest named color: Nice Blue (#107AB0). oklch(55.5% 0.105 234.6), rgb(34, 124, 167).

Aa

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

About this color

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

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

Values

HEX#227CA7
RGBrgb(34, 124, 167)
HSLhsl(199, 66%, 39%)
OKLCHoklch(55.5% 0.105 234.6)

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 #227CA7 4.65:1 AA Lc -77.4 Fine for body text
Black text on #227CA7 4.50:1 AA Lc 32.1 Non-text elements, placeholder text
#227CA7 text on white 4.65:1 AA Lc 72.0 Content text, not long reading
#227CA7 text on black 4.50:1 AA Lc -29.7 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

    #E2ECF2

    oklch(93.7% 0.013 233.7)

  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

    #71A9C9

    oklch(70.8% 0.075 234.4)

  6. Step 500

    500

    #4793BB

    oklch(63.2% 0.096 234.1)

  7. Step 600

    600 (this color)

    #227CA7

    oklch(55.5% 0.105 234.6)

  8. Step 700

    700

    #126990

    oklch(49.2% 0.098 234.5)

  9. Step 800

    800

    #145574

    oklch(42.5% 0.081 234.6)

  10. Step 900

    900

    #1A475E

    oklch(37.8% 0.063 234.2)

  11. Step 950

    950

    #112A37

    oklch(27.2% 0.039 233.4)

Export this scale for Tailwind in the Tailwind colors tool

#227CA7 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)#677BA90.064
Deuteranopia (no green cones)#556FA60.053
Tritanopia (no blue cones)#00878B0.064
Achromatopsia (no color)#7474740.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #227CA7

    #227CA7

    oklch(55.5% 0.105 234.6)

  • #A26131

    #A26131

    oklch(55.6% 0.105 54.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #227CA7

    #227CA7

    oklch(55.5% 0.105 234.6)

  • #00838D

    #00838D

    oklch(55.6% 0.095 204.2)

  • #5471B0

    #5471B0

    oklch(55.5% 0.104 264.5)

Open the analogous palette in the generator

Split complementary

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

  • #227CA7

    #227CA7

    oklch(55.5% 0.105 234.6)

  • #A85854

    #A85854

    oklch(55.5% 0.106 24)

  • #8F6D19

    #8F6D19

    oklch(55.4% 0.105 84.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #227CA7

    #227CA7

    oklch(55.5% 0.105 234.6)

  • #A25776

    #A25776

    oklch(55.4% 0.105 354.9)

  • #727A28

    #727A28

    oklch(55.6% 0.105 114.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #227CA7

    #227CA7

    oklch(55.5% 0.105 234.6)

  • #915C95

    #915C95

    oklch(55.4% 0.105 324.4)

  • #A26131

    #A26131

    oklch(55.6% 0.105 54.9)

  • #49834B

    #49834B

    oklch(55.5% 0.105 144.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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