#2278D7

Closest named color: Windows Blue (#3778BF). oklch(57.4% 0.166 254.6), rgb(34, 120, 215).

Aa

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

About this color

#2278D7 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.166 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.038 away. Black text reads best on it, at 4.73:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.166)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.73:1
White text4.43:1

Values

HEX#2278D7
RGBrgb(34, 120, 215)
HSLhsl(211, 73%, 49%)
OKLCHoklch(57.4% 0.166 254.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 #2278D7 4.43:1 AA large text Lc -75.7 Fine for body text
Black text on #2278D7 4.73:1 AA Lc 33.9 Non-text elements, placeholder text
#2278D7 text on white 4.43:1 AA large text Lc 70.2 Content text, not long reading
#2278D7 text on black 4.73:1 AA Lc -31.4 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF8

    oklch(93.6% 0.021 252.5)

  3. Step 200

    200

    #C7DBF5

    oklch(88.5% 0.042 255)

  4. Step 300

    300

    #A0C4F1

    oklch(81% 0.075 254.2)

  5. Step 400

    400

    #6BA3E9

    oklch(70.6% 0.119 254.6)

  6. Step 500

    500

    #408BE3

    oklch(63.2% 0.152 254.3)

  7. Step 600

    600 (this color)

    #2278D7

    oklch(57.4% 0.166 254.6)

  8. Step 700

    700

    #095FB5

    oklch(49% 0.155 254.7)

  9. Step 800

    800

    #0F4E92

    oklch(42.6% 0.127 254.6)

  10. Step 900

    900

    #164275

    oklch(37.8% 0.099 254.5)

  11. Step 950

    950

    #0E2744

    oklch(27% 0.062 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#2278D7 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)#4680DB0.037
Deuteranopia (no green cones)#1D70D50.022
Tritanopia (no blue cones)#008F9D0.124
Achromatopsia (no color)#7878780.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #2278D7

    #2278D7

    oklch(57.4% 0.166 254.6)

  • #A26C00

    #A26C00

    oklch(57.4% 0.121 74.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2278D7

    #2278D7

    oklch(57.4% 0.166 254.6)

  • #0085A8

    #0085A8

    oklch(57.3% 0.108 224.7)

  • #7165D5

    #7165D5

    oklch(57.4% 0.166 284.7)

Open the analogous palette in the generator

Split complementary

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

  • #2278D7

    #2278D7

    oklch(57.4% 0.166 254.6)

  • #C44F00

    #C44F00

    oklch(57.4% 0.166 44.5)

  • #847B00

    #847B00

    oklch(57.3% 0.121 104.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2278D7

    #2278D7

    oklch(57.4% 0.166 254.6)

  • #C74459

    #C74459

    oklch(57.5% 0.166 14.7)

  • #4A8C02

    #4A8C02

    oklch(57.3% 0.165 134.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2278D7

    #2278D7

    oklch(57.4% 0.166 254.6)

  • #B8488F

    #B8488F

    oklch(57.4% 0.165 344.6)

  • #A26C00

    #A26C00

    oklch(57.4% 0.121 74.6)

  • #008E66

    #008E66

    oklch(57.3% 0.121 164.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2278D7 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.