#2866DD

Closest named color: Royal Blue (#4169E1). oklch(54.2% 0.193 261.7), rgb(40, 102, 221).

Aa

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

About this color

#2866DD is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.193 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.024 away. White text reads best on it, at 5.20:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.193)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.03:1
White text5.20:1

Values

HEX#2866DD
RGBrgb(40, 102, 221)
HSLhsl(219, 73%, 51%)
OKLCHoklch(54.2% 0.193 261.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 #2866DD 5.20:1 AA Lc -80.6 Fine for body text
Black text on #2866DD 4.03:1 AA large text Lc 28.9 Dividers and decoration only
#2866DD text on white 5.20:1 AA Lc 75.2 Fine for body text
#2866DD text on black 4.03:1 AA large text Lc -26.5 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C8DAFA

    oklch(88.5% 0.048 262)

  4. Step 300

    300

    #A2C1F9

    oklch(80.8% 0.087 262)

  5. Step 400

    400

    #6F9FF7

    oklch(70.7% 0.14 261.7)

  6. Step 500

    500

    #4984F3

    oklch(63% 0.178 261.7)

  7. Step 600

    600 (this color)

    #2866DD

    oklch(54.2% 0.193 261.7)

  8. Step 700

    700

    #1F58C4

    oklch(49.1% 0.179 261.6)

  9. Step 800

    800

    #1C499F

    oklch(42.8% 0.149 261.7)

  10. Step 900

    900

    #1C3E7E

    oklch(37.7% 0.116 261.6)

  11. Step 950

    950

    #11254A

    oklch(27.1% 0.074 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#2866DD 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)#0075E10.037
Deuteranopia (no green cones)#0065DB0.017
Tritanopia (no blue cones)#0083970.149
Achromatopsia (no color)#6D6D6D0.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #2866DD

    #2866DD

    oklch(54.2% 0.193 261.7)

  • #8F6700

    #8F6700

    oklch(54.1% 0.111 81.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2866DD

    #2866DD

    oklch(54.2% 0.193 261.7)

  • #0079A4

    #0079A4

    oklch(54.1% 0.111 232.2)

  • #7550D4

    #7550D4

    oklch(54.2% 0.193 291.5)

Open the analogous palette in the generator

Split complementary

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

  • #2866DD

    #2866DD

    oklch(54.2% 0.193 261.7)

  • #AC5200

    #AC5200

    oklch(54.1% 0.14 51.7)

  • #727500

    #727500

    oklch(54.2% 0.12 111.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2866DD

    #2866DD

    oklch(54.2% 0.193 261.7)

  • #C72838

    #C72838

    oklch(54.2% 0.193 21.9)

  • #128700

    #128700

    oklch(54.2% 0.181 141.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2866DD

    #2866DD

    oklch(54.2% 0.193 261.7)

  • #BB2B7B

    #BB2B7B

    oklch(54.1% 0.193 351.8)

  • #8F6700

    #8F6700

    oklch(54.1% 0.111 81.8)

  • #008268

    #008268

    oklch(54% 0.105 172.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2866DD 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.