#2866B5#2866B5

#2866B5 is a mid, vivid cyan. Relative luminance 0.133; OKLCH L 51.3% C 0.140 H 256.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2866B5
RGBrgb(40, 102, 181)
HSLhsl(214, 64%, 43%)
HSVhsv(214, 78%, 71%)
CMYKcmyk(77.9%, 43.6%, 0%, 29%)
CIE-LABlab(43.19, 8.68, -47.50)
CIE-LCHlch(43.19, 48.29, 280.36°)
OKLaboklab(51.26% -0.0336 -0.1361)
OKLCHoklch(51.26% 0.14 256.1)
XYZxyz(13.9638, 13.2884, 45.5361)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866B5 #B57728
analogous
#28ACB5 #2866B5 #3028B5
triadic
#2866B5 #B52866 #66B528
tetradic
#2866B5 #B528AC #B57728 #28B530
square
#2866B5 #B528AC #B57728 #28B530
split-complementary
#2866B5 #B53028 #ACB528
monochromatic
#122E51 #1D4A83 #2866B5 #4484D6 #77A5E1

Accessibility & contrast

On white

5.74
#2866B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2866B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2866B5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2866B5#FFFFFF#000000##FFFFFF
##2866B51.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6DB8
Deuteranopia (green-blind)
#2360B3
Tritanopia (blue-blind)
#007984
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2866b5;
/* rgb */ color: rgb(40, 102, 181);
/* oklch */ color: oklch(51.3% 0.140 256.1);
Tailwind
colors: {
  custom: {
    50: '#7791cc',
    500: '#2866b5',
    950: '#000000',
  },
}
SCSS
$custom: #2866b5;
$custom-light: #7791cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2866b5",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 181
  },
  "hsl": {
    "h": 213.617,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5126,
    "c": 0.14014,
    "h": 256.1
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#2866B5
secondary
#C8A270
accent
#9E41E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2866B5

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

Preview Lab → · Contrast checker → · Palette generator →

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