#2866BB#2866BB

#2866BB is a mid, vivid cyan. Relative luminance 0.135; OKLCH L 51.7% C 0.148 H 257.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2866BB
RGBrgb(40, 102, 187)
HSLhsl(215, 65%, 45%)
HSVhsv(215, 79%, 73%)
CMYKcmyk(78.6%, 45.5%, 0%, 26.7%)
CIE-LABlab(43.57, 10.98, -50.41)
CIE-LCHlch(43.57, 51.59, 282.29°)
OKLaboklab(51.67% -0.0324 -0.1446)
OKLCHoklch(51.67% 0.148 257.4)
XYZxyz(14.5928, 13.5400, 48.8485)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866BB #BB7D28
analogous
#28B0BB #2866BB #3428BB
triadic
#2866BB #BB2866 #66BB28
tetradic
#2866BB #BB28B0 #BB7D28 #28BB34
square
#2866BB #BB28B0 #BB7D28 #28BB34
split-complementary
#2866BB #BB3428 #B0BB28
monochromatic
#122F56 #1D4B89 #2866BB #4885D8 #7BA7E3

Accessibility & contrast

On white

5.66
#2866BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2866BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2866BB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2866BB#FFFFFF#000000##FFFFFF
##2866BB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396EBE
Deuteranopia (green-blind)
#1861B9
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2866bb;
/* rgb */ color: rgb(40, 102, 187);
/* oklch */ color: oklch(51.7% 0.148 257.4);
Tailwind
colors: {
  custom: {
    50: '#7891d0',
    500: '#2866bb',
    950: '#000000',
  },
}
SCSS
$custom: #2866bb;
$custom-light: #7891d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2866bb",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 214.694,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51667,
    "c": 0.14818,
    "h": 257.4
  },
  "luminance": 0.13542
}

Semantic roles & 50–950 ramp

primary
#2866BB
secondary
#CBA674
accent
#A140E8
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2866BB

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

Preview Lab → · Contrast checker → · Palette generator →

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