#2866AF#2866AF

#2866AF is a mid, vivid cyan. Relative luminance 0.130; OKLCH L 50.9% C 0.132 H 254.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2866AF
RGBrgb(40, 102, 175)
HSLhsl(212, 63%, 42%)
HSVhsv(212, 77%, 69%)
CMYKcmyk(77.1%, 41.7%, 0%, 31.4%)
CIE-LABlab(42.83, 6.38, -44.57)
CIE-LCHlch(42.83, 45.02, 278.15°)
OKLaboklab(50.86% -0.0348 -0.1274)
OKLCHoklch(50.86% 0.132 254.7)
XYZxyz(13.3614, 13.0475, 42.3633)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2866AF #AF7128
analogous
#28AAAF #2866AF #2D28AF
triadic
#2866AF #AF2866 #66AF28
tetradic
#2866AF #AF28AA #AF7128 #28AF2D
square
#2866AF #AF28AA #AF7128 #28AF2D
split-complementary
#2866AF #AF2D28 #AAAF28
monochromatic
#112C4B #1D497D #2866AF #4184D4 #73A4DF

Accessibility & contrast

On white

5.82
#2866AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2866AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2866AF#FFFFFF#000000##FFFFFF
##2866AF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426CB2
Deuteranopia (green-blind)
#2B5FAE
Tritanopia (blue-blind)
#007782
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2866af;
/* rgb */ color: rgb(40, 102, 175);
/* oklch */ color: oklch(50.9% 0.132 254.7);
Tailwind
colors: {
  custom: {
    50: '#7691c7',
    500: '#2866af',
    950: '#000000',
  },
}
SCSS
$custom: #2866af;
$custom-light: #7691c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2866af",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 212.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50864,
    "c": 0.13211,
    "h": 254.7
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#2866AF
secondary
#C69D6D
accent
#9B42E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2866AF

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

Preview Lab → · Contrast checker → · Palette generator →

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