#226DAC

Closest named color: Mid Blue (#276AB3). oklch(52.1% 0.123 248.4), rgb(34, 109, 172).

Aa

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

About this color

#226DAC is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.123 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.015 away. White text reads best on it, at 5.45:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.85:1
White text5.45:1

Values

HEX#226DAC
RGBrgb(34, 109, 172)
HSLhsl(207, 67%, 40%)
OKLCHoklch(52.1% 0.123 248.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 #226DAC 5.45:1 AA Lc -82.1 Fine for body text
Black text on #226DAC 3.85:1 AA large text Lc 27.3 Dividers and decoration only
#226DAC text on white 5.45:1 AA Lc 76.8 Fine for body text
#226DAC text on black 3.85:1 AA large text Lc -24.9 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 700.

  1. Step 50

    50

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF5

    oklch(93.5% 0.017 248)

  3. Step 200

    200

    #C9DCEE

    oklch(88.6% 0.032 246.7)

  4. Step 300

    300

    #A3C5E6

    oklch(81% 0.059 247.8)

  5. Step 400

    400

    #70A6D9

    oklch(70.8% 0.094 247.9)

  6. Step 500

    500

    #478ECF

    oklch(63% 0.122 248.5)

  7. Step 600

    600

    #2577BC

    oklch(55.5% 0.132 248.6)

  8. Step 700

    700 (this color)

    #226DAC

    oklch(52.1% 0.123 248.4)

  9. Step 800

    800

    #165283

    oklch(42.7% 0.101 248)

  10. Step 900

    900

    #1A4469

    oklch(37.6% 0.079 248.2)

  11. Step 950

    950

    #11283E

    oklch(27% 0.05 249.3)

Export this scale for Tailwind in the Tailwind colors tool

#226DAC 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)#4F70AF0.043
Deuteranopia (no green cones)#3B64AB0.029
Tritanopia (no blue cones)#007C840.089
Achromatopsia (no color)#6969690.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #226DAC

    #226DAC

    oklch(52.1% 0.123 248.4)

  • #935B00

    #935B00

    oklch(52.2% 0.114 68.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #226DAC

    #226DAC

    oklch(52.1% 0.123 248.4)

  • #00768D

    #00768D

    oklch(52.2% 0.094 217.7)

  • #5A60AE

    #5A60AE

    oklch(52.2% 0.122 278)

Open the analogous palette in the generator

Split complementary

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

  • #226DAC

    #226DAC

    oklch(52.1% 0.123 248.4)

  • #A34C30

    #A34C30

    oklch(52.2% 0.123 38.3)

  • #7A6900

    #7A6900

    oklch(52.1% 0.108 98)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #226DAC

    #226DAC

    oklch(52.1% 0.123 248.4)

  • #A2475B

    #A2475B

    oklch(52.1% 0.122 8.6)

  • #54761C

    #54761C

    oklch(52.1% 0.122 128.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #226DAC

    #226DAC

    oklch(52.1% 0.123 248.4)

  • #954A81

    #954A81

    oklch(52.1% 0.122 338.3)

  • #935B00

    #935B00

    oklch(52.2% 0.114 68.8)

  • #007E4E

    #007E4E

    oklch(52.3% 0.122 158.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #226DAC 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.