#2866AA#2866AA

#2866AA is a mid, vivid cyan. Relative luminance 0.129; OKLCH L 50.5% C 0.125 H 253.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2866AA
RGBrgb(40, 102, 170)
HSLhsl(211, 62%, 41%)
HSVhsv(211, 76%, 67%)
CMYKcmyk(76.5%, 40%, 0%, 33.3%)
CIE-LABlab(42.54, 4.47, -42.09)
CIE-LCHlch(42.54, 42.33, 276.07°)
OKLaboklab(50.54% -0.036 -0.1202)
OKLCHoklch(50.54% 0.125 253.3)
XYZxyz(12.8794, 12.8547, 39.8248)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866AA #AA6C28
analogous
#28A7AA #2866AA #2B28AA
triadic
#2866AA #AA2866 #66AA28
tetradic
#2866AA #AA28A7 #AA6C28 #28AA2B
square
#2866AA #AA28A7 #AA6C28 #28AA2B
split-complementary
#2866AA #AA2B28 #A7AA28
monochromatic
#112B47 #1C4878 #2866AA #3E84D2 #6FA4DD

Accessibility & contrast

On white

5.88
#2866AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2866AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2866AA#FFFFFF#000000##FFFFFF
##2866AA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466BAD
Deuteranopia (green-blind)
#315FA9
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2866aa;
/* rgb */ color: rgb(40, 102, 170);
/* oklch */ color: oklch(50.5% 0.125 253.3);
Tailwind
colors: {
  custom: {
    50: '#7591c4',
    500: '#2866aa',
    950: '#000000',
  },
}
SCSS
$custom: #2866aa;
$custom-light: #7591c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2866aa",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 170
  },
  "hsl": {
    "h": 211.385,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50543,
    "c": 0.12544,
    "h": 253.3
  },
  "luminance": 0.12856
}

Semantic roles & 50–950 ramp

primary
#2866AA
secondary
#C4996A
accent
#9843E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2866AA

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

Preview Lab → · Contrast checker → · Palette generator →

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