#2270C2

Closest named color: Mid Blue (#276AB3). oklch(54.2% 0.148 253.4), rgb(34, 112, 194).

Aa

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

About this color

#2270C2 is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.148 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.026 away. White text reads best on it, at 5.04:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.148)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text4.16:1
White text5.04:1

Values

HEX#2270C2
RGBrgb(34, 112, 194)
HSLhsl(211, 70%, 45%)
OKLCHoklch(54.2% 0.148 253.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 #2270C2 5.04:1 AA Lc -79.8 Fine for body text
Black text on #2270C2 4.16:1 AA large text Lc 29.7 Dividers and decoration only
#2270C2 text on white 5.04:1 AA Lc 74.4 Content text, not long reading
#2270C2 text on black 4.16:1 AA large text Lc -27.3 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C9DBF2

    oklch(88.5% 0.037 254.6)

  4. Step 300

    300

    #A3C4EB

    oklch(81% 0.066 252.8)

  5. Step 400

    400

    #70A4E1

    oklch(70.7% 0.106 253.1)

  6. Step 500

    500

    #488CD9

    oklch(63.1% 0.136 253.2)

  7. Step 600

    600 (this color)

    #2270C2

    oklch(54.2% 0.148 253.4)

  8. Step 700

    700

    #1961AC

    oklch(49.1% 0.138 253.5)

  9. Step 800

    800

    #18508B

    oklch(42.8% 0.113 253.1)

  10. Step 900

    900

    #1B436F

    oklch(37.8% 0.088 253)

  11. Step 950

    950

    #112741

    oklch(26.9% 0.056 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#2270C2 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)#4776C50.036
Deuteranopia (no green cones)#2968C00.021
Tritanopia (no blue cones)#00848F0.112
Achromatopsia (no color)#6F6F6F0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #2270C2

    #2270C2

    oklch(54.2% 0.148 253.4)

  • #976300

    #976300

    oklch(54.2% 0.115 73.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2270C2

    #2270C2

    oklch(54.2% 0.148 253.4)

  • #007B9A

    #007B9A

    oklch(54.1% 0.101 223.5)

  • #6660C1

    #6660C1

    oklch(54.3% 0.147 283.1)

Open the analogous palette in the generator

Split complementary

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

  • #2270C2

    #2270C2

    oklch(54.2% 0.148 253.4)

  • #B34B17

    #B34B17

    oklch(54.2% 0.148 43)

  • #7B7100

    #7B7100

    oklch(54.1% 0.114 103.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2270C2

    #2270C2

    oklch(54.2% 0.148 253.4)

  • #B44356

    #B44356

    oklch(54.3% 0.147 13.4)

  • #4A800F

    #4A800F

    oklch(54.1% 0.147 133.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2270C2

    #2270C2

    oklch(54.2% 0.148 253.4)

  • #A74685

    #A74685

    oklch(54.2% 0.147 343.3)

  • #976300

    #976300

    oklch(54.2% 0.115 73.4)

  • #00845C

    #00845C

    oklch(54.3% 0.117 163.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2270C2 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.