#1278D4

Closest named color: Windows Blue (#3778BF). oklch(56.9% 0.165 252.3), rgb(18, 120, 212).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.165)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.66:1
White text4.50:1

Values

HEX#1278D4
RGBrgb(18, 120, 212)
HSLhsl(208, 84%, 45%)
OKLCHoklch(56.9% 0.165 252.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 #1278D4 4.50:1 AA Lc -76.1 Fine for body text
Black text on #1278D4 4.66:1 AA Lc 33.4 Non-text elements, placeholder text
#1278D4 text on white 4.50:1 AA Lc 70.6 Content text, not long reading
#1278D4 text on black 4.66: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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF8

    oklch(93.6% 0.021 252.5)

  3. Step 200

    200

    #C6DCF4

    oklch(88.6% 0.041 250.6)

  4. Step 300

    300

    #9EC4F0

    oklch(80.8% 0.075 252.4)

  5. Step 400

    400

    #68A4E8

    oklch(70.6% 0.118 252.6)

  6. Step 500

    500

    #3A8CE2

    oklch(63.2% 0.152 252.4)

  7. Step 600

    600 (this color)

    #1278D4

    oklch(56.9% 0.165 252.3)

  8. Step 700

    700

    #0061B1

    oklch(49.1% 0.148 252.3)

  9. Step 800

    800

    #034F91

    oklch(42.6% 0.127 252.3)

  10. Step 900

    900

    #114374

    oklch(37.8% 0.098 251.9)

  11. Step 950

    950

    #0C2744

    oklch(26.9% 0.063 252.6)

Export this scale for Tailwind in the Tailwind colors tool

#1278D4 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)#477FD80.041
Deuteranopia (no green cones)#1F6FD20.023
Tritanopia (no blue cones)#008E9B0.121
Achromatopsia (no color)#7777770.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #1278D4

    #1278D4

    oklch(56.9% 0.165 252.3)

  • #A26900

    #A26900

    oklch(56.8% 0.122 72.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1278D4

    #1278D4

    oklch(56.9% 0.165 252.3)

  • #0084A4

    #0084A4

    oklch(56.9% 0.106 222.7)

  • #6B65D4

    #6B65D4

    oklch(56.9% 0.165 282.2)

Open the analogous palette in the generator

Split complementary

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

  • #1278D4

    #1278D4

    oklch(56.9% 0.165 252.3)

  • #C34D0E

    #C34D0E

    oklch(57% 0.165 42.5)

  • #857900

    #857900

    oklch(56.9% 0.119 102.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1278D4

    #1278D4

    oklch(56.9% 0.165 252.3)

  • #C4435C

    #C4435C

    oklch(57% 0.164 12.5)

  • #518900

    #518900

    oklch(56.9% 0.159 132.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1278D4

    #1278D4

    oklch(56.9% 0.165 252.3)

  • #B54791

    #B54791

    oklch(56.9% 0.165 342.5)

  • #A26900

    #A26900

    oklch(56.8% 0.122 72.2)

  • #008D61

    #008D61

    oklch(56.9% 0.124 162.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1278D4 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.