#2866B0#2866B0

#2866B0 is a mid, vivid cyan. Relative luminance 0.131; OKLCH L 50.9% C 0.133 H 255.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2866B0
RGBrgb(40, 102, 176)
HSLhsl(213, 63%, 42%)
HSVhsv(213, 77%, 69%)
CMYKcmyk(77.3%, 42%, 0%, 31%)
CIE-LABlab(42.89, 6.77, -45.06)
CIE-LCHlch(42.89, 45.56, 278.54°)
OKLaboklab(50.93% -0.0346 -0.1289)
OKLCHoklch(50.93% 0.133 255)
XYZxyz(13.4600, 13.0869, 42.8825)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866B0 #B07228
analogous
#28AAB0 #2866B0 #2E28B0
triadic
#2866B0 #B02866 #66B028
tetradic
#2866B0 #B028AA #B07228 #28B02E
square
#2866B0 #B028AA #B07228 #28B02E
split-complementary
#2866B0 #B02E28 #AAB028
monochromatic
#112C4C #1D497E #2866B0 #4184D4 #73A4DF

Accessibility & contrast

On white

5.80
#2866B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2866B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2866B0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2866B0#FFFFFF#000000##FFFFFF
##2866B01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426CB3
Deuteranopia (green-blind)
#2A60AF
Tritanopia (blue-blind)
#007782
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2866b0;
/* rgb */ color: rgb(40, 102, 176);
/* oklch */ color: oklch(50.9% 0.133 255.0);
Tailwind
colors: {
  custom: {
    50: '#7691c8',
    500: '#2866b0',
    950: '#000000',
  },
}
SCSS
$custom: #2866b0;
$custom-light: #7691c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2866b0",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 176
  },
  "hsl": {
    "h": 212.647,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.13344,
    "h": 255
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#2866B0
secondary
#C69E6D
accent
#9B42E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2866B0

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

Preview Lab → · Contrast checker → · Palette generator →

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