#2866B2#2866B2

#2866B2 is a mid, vivid cyan. Relative luminance 0.132; OKLCH L 51.1% C 0.136 H 255.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2866B2
RGBrgb(40, 102, 178)
HSLhsl(213, 63%, 43%)
HSVhsv(213, 78%, 70%)
CMYKcmyk(77.5%, 42.7%, 0%, 30.2%)
CIE-LABlab(43.01, 7.53, -46.04)
CIE-LCHlch(43.01, 46.65, 279.29°)
OKLaboklab(51.06% -0.0342 -0.1318)
OKLCHoklch(51.06% 0.136 255.4)
XYZxyz(13.6593, 13.1666, 43.9324)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866B2 #B27428
analogous
#28ABB2 #2866B2 #2F28B2
triadic
#2866B2 #B22866 #66B228
tetradic
#2866B2 #B228AB #B27428 #28B22F
square
#2866B2 #B228AB #B27428 #28B22F
split-complementary
#2866B2 #B22F28 #ABB228
monochromatic
#122D4E #1D4980 #2866B2 #4384D5 #75A5E0

Accessibility & contrast

On white

5.78
#2866B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2866B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2866B2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2866B2#FFFFFF#000000##FFFFFF
##2866B21.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#2760B0
Tritanopia (blue-blind)
#007883
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2866b2;
/* rgb */ color: rgb(40, 102, 178);
/* oklch */ color: oklch(51.1% 0.136 255.4);
Tailwind
colors: {
  custom: {
    50: '#7691c9',
    500: '#2866b2',
    950: '#000000',
  },
}
SCSS
$custom: #2866b2;
$custom-light: #7691c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2866b2",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 213.043,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51061,
    "c": 0.13613,
    "h": 255.4
  },
  "luminance": 0.13168
}

Semantic roles & 50–950 ramp

primary
#2866B2
secondary
#C79F6F
accent
#9C41E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2866B2

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

Preview Lab → · Contrast checker → · Palette generator →

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