#2866A8#2866A8

#2866A8 is a mid, vivid cyan. Relative luminance 0.128; OKLCH L 50.4% C 0.123 H 252.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2866A8
RGBrgb(40, 102, 168)
HSLhsl(211, 62%, 41%)
HSVhsv(211, 76%, 66%)
CMYKcmyk(76.2%, 39.3%, 0%, 34.1%)
CIE-LABlab(42.43, 3.71, -41.10)
CIE-LCHlch(42.43, 41.26, 275.16°)
OKLaboklab(50.42% -0.0365 -0.1172)
OKLCHoklch(50.42% 0.123 252.7)
XYZxyz(12.6917, 12.7796, 38.8360)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866A8 #A86A28
analogous
#28A6A8 #2866A8 #2A28A8
triadic
#2866A8 #A82866 #66A828
tetradic
#2866A8 #A828A6 #A86A28 #28A82A
square
#2866A8 #A828A6 #A86A28 #28A82A
split-complementary
#2866A8 #A82A28 #A6A828
monochromatic
#102A45 #1C4877 #2866A8 #3D84D1 #6EA3DC

Accessibility & contrast

On white

5.91
#2866A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2866A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2866A8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2866A8#FFFFFF#000000##FFFFFF
##2866A81.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476BAB
Deuteranopia (green-blind)
#335FA7
Tritanopia (blue-blind)
#00767F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2866a8;
/* rgb */ color: rgb(40, 102, 168);
/* oklch */ color: oklch(50.4% 0.123 252.7);
Tailwind
colors: {
  custom: {
    50: '#7491c2',
    500: '#2866a8',
    950: '#000000',
  },
}
SCSS
$custom: #2866a8;
$custom-light: #7491c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2866a8",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 168
  },
  "hsl": {
    "h": 210.938,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50417,
    "c": 0.12279,
    "h": 252.7
  },
  "luminance": 0.12781
}

Semantic roles & 50–950 ramp

primary
#2866A8
secondary
#C39769
accent
#9643E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2866A8

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

Preview Lab → · Contrast checker → · Palette generator →

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