#2866AB#2866AB

#2866AB is a mid, vivid cyan. Relative luminance 0.129; OKLCH L 50.6% C 0.127 H 253.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2866AB
RGBrgb(40, 102, 171)
HSLhsl(212, 62%, 41%)
HSVhsv(212, 77%, 67%)
CMYKcmyk(76.6%, 40.4%, 0%, 32.9%)
CIE-LABlab(42.60, 4.86, -42.59)
CIE-LCHlch(42.60, 42.87, 276.50°)
OKLaboklab(50.61% -0.0358 -0.1216)
OKLCHoklch(50.61% 0.127 253.6)
XYZxyz(12.9744, 12.8926, 40.3249)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866AB #AB6D28
analogous
#28A8AB #2866AB #2C28AB
triadic
#2866AB #AB2866 #66AB28
tetradic
#2866AB #AB28A8 #AB6D28 #28AB2C
square
#2866AB #AB28A8 #AB6D28 #28AB2C
split-complementary
#2866AB #AB2C28 #A8AB28
monochromatic
#112B48 #1C4879 #2866AB #3E84D2 #70A4DE

Accessibility & contrast

On white

5.87
#2866AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2866AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2866AB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2866AB#FFFFFF#000000##FFFFFF
##2866AB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456BAE
Deuteranopia (green-blind)
#305FAA
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2866ab;
/* rgb */ color: rgb(40, 102, 171);
/* oklch */ color: oklch(50.6% 0.127 253.6);
Tailwind
colors: {
  custom: {
    50: '#7591c4',
    500: '#2866ab',
    950: '#000000',
  },
}
SCSS
$custom: #2866ab;
$custom-light: #7591c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2866ab",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 171
  },
  "hsl": {
    "h": 211.603,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50606,
    "c": 0.12677,
    "h": 253.6
  },
  "luminance": 0.12894
}

Semantic roles & 50–950 ramp

primary
#2866AB
secondary
#C49A6A
accent
#9843E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2866AB

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

Preview Lab → · Contrast checker → · Palette generator →

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