#2876DE

Closest named color: Royal Blue (#4169E1). oklch(57.6% 0.176 257.3), rgb(40, 118, 222).

Aa

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

About this color

#2876DE is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.176 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.035 away. Black text reads best on it, at 4.73:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.176)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.73:1
White text4.43:1

Values

HEX#2876DE
RGBrgb(40, 118, 222)
HSLhsl(214, 73%, 51%)
OKLCHoklch(57.6% 0.176 257.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 #2876DE 4.43:1 AA large text Lc -75.7 Fine for body text
Black text on #2876DE 4.73:1 AA Lc 33.9 Non-text elements, placeholder text
#2876DE text on white 4.43:1 AA large text Lc 70.2 Content text, not long reading
#2876DE 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C7DBF7

    oklch(88.5% 0.044 256.8)

  4. Step 300

    300

    #A1C3F4

    oklch(81% 0.079 257.5)

  5. Step 400

    400

    #6CA2EE

    oklch(70.7% 0.126 257.1)

  6. Step 500

    500

    #4388E9

    oklch(63% 0.162 257.4)

  7. Step 600

    600 (this color)

    #2876DE

    oklch(57.6% 0.176 257.3)

  8. Step 700

    700

    #125DBB

    oklch(49.1% 0.164 257.3)

  9. Step 800

    800

    #134C97

    oklch(42.6% 0.136 257.4)

  10. Step 900

    900

    #184078

    oklch(37.6% 0.106 257.6)

  11. Step 950

    950

    #0F2646

    oklch(26.9% 0.066 257.2)

Export this scale for Tailwind in the Tailwind colors tool

#2876DE 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)#3B80E20.032
Deuteranopia (no green cones)#0070DC0.023
Tritanopia (no blue cones)#008F9F0.134
Achromatopsia (no color)#7878780.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #2876DE

    #2876DE

    oklch(57.6% 0.176 257.3)

  • #A06E00

    #A06E00

    oklch(57.6% 0.12 77.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2876DE

    #2876DE

    oklch(57.6% 0.176 257.3)

  • #0085AC

    #0085AC

    oklch(57.5% 0.112 227.4)

  • #7662D9

    #7662D9

    oklch(57.6% 0.175 287.3)

Open the analogous palette in the generator

Split complementary

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

  • #2876DE

    #2876DE

    oklch(57.6% 0.176 257.3)

  • #C15400

    #C15400

    oklch(57.6% 0.159 47.3)

  • #827D00

    #827D00

    oklch(57.5% 0.123 106.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2876DE

    #2876DE

    oklch(57.6% 0.176 257.3)

  • #CC4052

    #CC4052

    oklch(57.7% 0.176 17.3)

  • #3D8F00

    #3D8F00

    oklch(57.6% 0.176 137.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2876DE

    #2876DE

    oklch(57.6% 0.176 257.3)

  • #BE438C

    #BE438C

    oklch(57.5% 0.175 347.4)

  • #A06E00

    #A06E00

    oklch(57.6% 0.12 77.3)

  • #008F6B

    #008F6B

    oklch(57.7% 0.118 167.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2876DE 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.