#2866A4#2866A4

#2866A4 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 50.2% C 0.118 H 251.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2866A4
RGBrgb(40, 102, 164)
HSLhsl(210, 61%, 40%)
HSVhsv(210, 76%, 64%)
CMYKcmyk(75.6%, 37.8%, 0%, 35.7%)
CIE-LABlab(42.20, 2.19, -39.09)
CIE-LCHlch(42.20, 39.15, 273.21°)
OKLaboklab(50.17% -0.0375 -0.1114)
OKLCHoklch(50.17% 0.118 251.4)
XYZxyz(12.3248, 12.6328, 36.9036)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866A4 #A46628
analogous
#28A4A4 #2866A4 #2828A4
triadic
#2866A4 #A42866 #66A428
tetradic
#2866A4 #A428A4 #A46628 #28A428
square
#2866A4 #A428A4 #A46628 #28A428
split-complementary
#2866A4 #A42828 #A4A428
monochromatic
#102942 #1C4773 #2866A4 #3A85CF #6BA3DB

Accessibility & contrast

On white

5.95
#2866A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2866A4#FFFFFF#000000##FFFFFF
##2866A41.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2866a4;
/* rgb */ color: rgb(40, 102, 164);
/* oklch */ color: oklch(50.2% 0.118 251.4);
Tailwind
colors: {
  custom: {
    50: '#7391bf',
    500: '#2866a4',
    950: '#000000',
  },
}
SCSS
$custom: #2866a4;
$custom-light: #7391bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2866a4",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 164
  },
  "hsl": {
    "h": 210,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.50168,
    "c": 0.11751,
    "h": 251.4
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#2866A4
secondary
#C19466
accent
#9444E4
background
#F7F8FB
surface
#EDF0F7
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2866A4

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

Preview Lab → · Contrast checker → · Palette generator →

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