#227DB7

Closest named color: Nice Blue (#107AB0). oklch(56.6% 0.121 242.3), rgb(34, 125, 183).

Aa

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

About this color

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

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

Values

HEX#227DB7
RGBrgb(34, 125, 183)
HSLhsl(203, 69%, 43%)
OKLCHoklch(56.6% 0.121 242.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 #227DB7 4.48:1 AA large text Lc -76.2 Fine for body text
Black text on #227DB7 4.68:1 AA Lc 33.4 Non-text elements, placeholder text
#227DB7 text on white 4.48:1 AA large text Lc 70.7 Content text, not long reading
#227DB7 text on black 4.68:1 AA Lc -31.0 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

    #E1EBF4

    oklch(93.5% 0.016 245.1)

  3. Step 200

    200

    #C9DCEC

    oklch(88.5% 0.03 243.4)

  4. Step 300

    300

    #A2C6E1

    oklch(80.9% 0.054 240.8)

  5. Step 400

    400

    #6EA7D3

    oklch(70.6% 0.088 242.7)

  6. Step 500

    500

    #4491C7

    oklch(63.2% 0.111 242.1)

  7. Step 600

    600 (this color)

    #227DB7

    oklch(56.6% 0.121 242.3)

  8. Step 700

    700

    #0C669B

    oklch(49% 0.114 242.8)

  9. Step 800

    800

    #11547D

    oklch(42.7% 0.093 241.8)

  10. Step 900

    900

    #184665

    oklch(37.9% 0.073 241.9)

  11. Step 950

    950

    #10293B

    oklch(27.1% 0.046 242.4)

Export this scale for Tailwind in the Tailwind colors tool

#227DB7 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)#627EBA0.057
Deuteranopia (no green cones)#4D71B60.043
Tritanopia (no blue cones)#008B920.081
Achromatopsia (no color)#7777770.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #227DB7

    #227DB7

    oklch(56.6% 0.121 242.3)

  • #A86317

    #A86317

    oklch(56.6% 0.122 61.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #227DB7

    #227DB7

    oklch(56.6% 0.121 242.3)

  • #008598

    #008598

    oklch(56.6% 0.099 212.2)

  • #5E70BD

    #5E70BD

    oklch(56.6% 0.121 272.1)

Open the analogous palette in the generator

Split complementary

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

  • #227DB7

    #227DB7

    oklch(56.6% 0.121 242.3)

  • #B25846

    #B25846

    oklch(56.6% 0.121 32.7)

  • #8E7300

    #8E7300

    oklch(56.5% 0.116 92.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #227DB7

    #227DB7

    oklch(56.6% 0.121 242.3)

  • #AF5470

    #AF5470

    oklch(56.6% 0.122 2.3)

  • #6A8122

    #6A8122

    oklch(56.6% 0.122 122.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #227DB7

    #227DB7

    oklch(56.6% 0.121 242.3)

  • #9F5995

    #9F5995

    oklch(56.6% 0.121 332.5)

  • #A86317

    #A86317

    oklch(56.6% 0.122 61.8)

  • #318A52

    #318A52

    oklch(56.6% 0.121 152.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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