#2866C3#2866C3

#2866C3 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.2% C 0.159 H 258.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2866C3
RGBrgb(40, 102, 195)
HSLhsl(216, 66%, 46%)
HSVhsv(216, 79%, 76%)
CMYKcmyk(79.5%, 47.7%, 0%, 23.5%)
CIE-LABlab(44.08, 14.06, -54.22)
CIE-LCHlch(44.08, 56.02, 284.53°)
OKLaboklab(52.23% -0.031 -0.1558)
OKLCHoklch(52.23% 0.159 258.7)
XYZxyz(15.4732, 13.8921, 53.4851)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866C3 #C38528
analogous
#28B3C3 #2866C3 #3728C3
triadic
#2866C3 #C32866 #66C328
tetradic
#2866C3 #C328B3 #C38528 #28C337
square
#2866C3 #C328B3 #C38528 #28C337
split-complementary
#2866C3 #C33728 #B3C328
monochromatic
#13315D #1E4B90 #2866C3 #4E86DB #80A9E5

Accessibility & contrast

On white

5.56
#2866C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2866C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2866C3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2866C3#FFFFFF#000000##FFFFFF
##2866C31.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3170C6
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2866c3;
/* rgb */ color: rgb(40, 102, 195);
/* oklch */ color: oklch(52.2% 0.159 258.7);
Tailwind
colors: {
  custom: {
    50: '#7a91d6',
    500: '#2866c3',
    950: '#000000',
  },
}
SCSS
$custom: #2866c3;
$custom-light: #7a91d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2866c3",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 195
  },
  "hsl": {
    "h": 216,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.15888,
    "h": 258.7
  },
  "luminance": 0.13894
}

Semantic roles & 50–950 ramp

primary
#2866C3
secondary
#CEAC79
accent
#A53FE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2866C3

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2866C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva