#2866A5#2866A5

#2866A5 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.2% C 0.119 H 251.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2866A5
RGBrgb(40, 102, 165)
HSLhsl(210, 61%, 40%)
HSVhsv(210, 76%, 65%)
CMYKcmyk(75.8%, 38.2%, 0%, 35.3%)
CIE-LABlab(42.26, 2.57, -39.59)
CIE-LCHlch(42.26, 39.68, 273.72°)
OKLaboklab(50.23% -0.0373 -0.1128)
OKLCHoklch(50.23% 0.119 251.7)
XYZxyz(12.4154, 12.6690, 37.3811)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866A5 #A56728
analogous
#28A5A5 #2866A5 #2828A5
triadic
#2866A5 #A52866 #66A528
tetradic
#2866A5 #A528A5 #A56728 #28A528
square
#2866A5 #A528A5 #A56728 #28A528
split-complementary
#2866A5 #A52828 #A5A528
monochromatic
#102942 #1C4874 #2866A5 #3B85CF #6CA3DB

Accessibility & contrast

On white

5.94
#2866A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2866A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2866A5#FFFFFF#000000##FFFFFF
##2866A51.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496AA8
Deuteranopia (green-blind)
#365EA4
Tritanopia (blue-blind)
#00757D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2866a5;
/* rgb */ color: rgb(40, 102, 165);
/* oklch */ color: oklch(50.2% 0.119 251.7);
Tailwind
colors: {
  custom: {
    50: '#7491c0',
    500: '#2866a5',
    950: '#000000',
  },
}
SCSS
$custom: #2866a5;
$custom-light: #7491c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2866a5",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 165
  },
  "hsl": {
    "h": 210.24,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5023,
    "c": 0.11883,
    "h": 251.7
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#2866A5
secondary
#C29567
accent
#9544E4
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2866A5

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

Preview Lab → · Contrast checker → · Palette generator →

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