#2866AC#2866AC

#2866AC is a mid, vivid cyan. Relative luminance 0.129; OKLCH L 50.7% C 0.128 H 253.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2866AC
RGBrgb(40, 102, 172)
HSLhsl(212, 62%, 42%)
HSVhsv(212, 77%, 67%)
CMYKcmyk(76.7%, 40.7%, 0%, 32.5%)
CIE-LABlab(42.66, 5.24, -43.09)
CIE-LCHlch(42.66, 43.40, 276.93°)
OKLaboklab(50.67% -0.0355 -0.1231)
OKLCHoklch(50.67% 0.128 253.9)
XYZxyz(13.0701, 12.9309, 40.8288)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866AC #AC6E28
analogous
#28A8AC #2866AC #2C28AC
triadic
#2866AC #AC2866 #66AC28
tetradic
#2866AC #AC28A8 #AC6E28 #28AC2C
square
#2866AC #AC28A8 #AC6E28 #28AC2C
split-complementary
#2866AC #AC2C28 #A8AC28
monochromatic
#112B49 #1C497A #2866AC #3F84D2 #71A4DE

Accessibility & contrast

On white

5.86
#2866AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2866AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2866AC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2866AC#FFFFFF#000000##FFFFFF
##2866AC1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446BAF
Deuteranopia (green-blind)
#2F5FAB
Tritanopia (blue-blind)
#007780
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2866ac;
/* rgb */ color: rgb(40, 102, 172);
/* oklch */ color: oklch(50.7% 0.128 253.9);
Tailwind
colors: {
  custom: {
    50: '#7591c5',
    500: '#2866ac',
    950: '#000000',
  },
}
SCSS
$custom: #2866ac;
$custom-light: #7591c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2866ac",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 172
  },
  "hsl": {
    "h": 211.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5067,
    "c": 0.12811,
    "h": 253.9
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

primary
#2866AC
secondary
#C59B6B
accent
#9942E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2866AC

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

Preview Lab → · Contrast checker → · Palette generator →

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