#2870C8

Closest named color: Windows Blue (#3778BF). oklch(54.8% 0.154 255.7), rgb(40, 112, 200).

Aa

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

About this color

#2870C8 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.154 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.031 away. White text reads best on it, at 4.95:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.154)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.24:1
White text4.95:1

Values

HEX#2870C8
RGBrgb(40, 112, 200)
HSLhsl(213, 67%, 47%)
OKLCHoklch(54.8% 0.154 255.7)

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 #2870C8 4.95:1 AA Lc -79.2 Fine for body text
Black text on #2870C8 4.24:1 AA large text Lc 30.3 Non-text elements, placeholder text
#2870C8 text on white 4.95:1 AA Lc 73.8 Content text, not long reading
#2870C8 text on black 4.24:1 AA large text Lc -27.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 600.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C9DBF3

    oklch(88.5% 0.038 255.6)

  4. Step 300

    300

    #A3C3ED

    oklch(80.8% 0.069 255.4)

  5. Step 400

    400

    #71A3E5

    oklch(70.7% 0.111 255.7)

  6. Step 500

    500

    #4A8ADD

    oklch(63% 0.142 255.8)

  7. Step 600

    600 (this color)

    #2870C8

    oklch(54.8% 0.154 255.7)

  8. Step 700

    700

    #1D60AF

    oklch(49.2% 0.142 255.4)

  9. Step 800

    800

    #1B4E8E

    oklch(42.6% 0.119 256)

  10. Step 900

    900

    #1C4271

    oklch(37.7% 0.092 255.2)

  11. Step 950

    950

    #112742

    oklch(27% 0.058 254.7)

Export this scale for Tailwind in the Tailwind colors tool

#2870C8 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)#4378CB0.033
Deuteranopia (no green cones)#2169C60.020
Tritanopia (no blue cones)#0085920.117
Achromatopsia (no color)#7070700.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #2870C8

    #2870C8

    oklch(54.8% 0.154 255.7)

  • #976600

    #976600

    oklch(54.8% 0.115 75.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2870C8

    #2870C8

    oklch(54.8% 0.154 255.7)

  • #007D9F

    #007D9F

    oklch(54.9% 0.104 225.4)

  • #6B5FC5

    #6B5FC5

    oklch(54.8% 0.153 285.5)

Open the analogous palette in the generator

Split complementary

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

  • #2870C8

    #2870C8

    oklch(54.8% 0.154 255.7)

  • #B64C02

    #B64C02

    oklch(54.8% 0.154 45.7)

  • #7B7400

    #7B7400

    oklch(54.8% 0.116 105.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2870C8

    #2870C8

    oklch(54.8% 0.154 255.7)

  • #B94252

    #B94252

    oklch(54.8% 0.153 15.8)

  • #438412

    #438412

    oklch(54.9% 0.155 135.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2870C8

    #2870C8

    oklch(54.8% 0.154 255.7)

  • #AD4484

    #AD4484

    oklch(54.8% 0.155 345.8)

  • #976600

    #976600

    oklch(54.8% 0.115 75.9)

  • #008561

    #008561

    oklch(54.7% 0.114 165.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2870C8 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.