#2866B4#2866B4

#2866B4 is a mid, vivid cyan. Relative luminance 0.132; OKLCH L 51.2% C 0.139 H 255.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2866B4
RGBrgb(40, 102, 180)
HSLhsl(213, 64%, 43%)
HSVhsv(213, 78%, 71%)
CMYKcmyk(77.8%, 43.3%, 0%, 29.4%)
CIE-LABlab(43.13, 8.30, -47.02)
CIE-LCHlch(43.13, 47.74, 280.01°)
OKLaboklab(51.19% -0.0338 -0.1346)
OKLCHoklch(51.19% 0.139 255.9)
XYZxyz(13.8616, 13.2475, 44.9976)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866B4 #B47628
analogous
#28ACB4 #2866B4 #3028B4
triadic
#2866B4 #B42866 #66B428
tetradic
#2866B4 #B428AC #B47628 #28B430
square
#2866B4 #B428AC #B47628 #28B430
split-complementary
#2866B4 #B43028 #ACB428
monochromatic
#122D50 #1D4A82 #2866B4 #4484D5 #76A5E1

Accessibility & contrast

On white

5.75
#2866B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2866B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2866B4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2866B4#FFFFFF#000000##FFFFFF
##2866B41.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB7
Deuteranopia (green-blind)
#2560B2
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2866b4;
/* rgb */ color: rgb(40, 102, 180);
/* oklch */ color: oklch(51.2% 0.139 255.9);
Tailwind
colors: {
  custom: {
    50: '#7791cb',
    500: '#2866b4',
    950: '#000000',
  },
}
SCSS
$custom: #2866b4;
$custom-light: #7791cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2866b4",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 180
  },
  "hsl": {
    "h": 213.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.1388,
    "h": 255.9
  },
  "luminance": 0.13249
}

Semantic roles & 50–950 ramp

primary
#2866B4
secondary
#C8A170
accent
#9D41E7
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2866B4

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

Preview Lab → · Contrast checker → · Palette generator →

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