#2867AC#2867AC

#2867AC is a mid, vivid cyan. Relative luminance 0.131; OKLCH L 50.9% C 0.127 H 253.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2867AC
RGBrgb(40, 103, 172)
HSLhsl(211, 62%, 42%)
HSVhsv(211, 77%, 67%)
CMYKcmyk(76.7%, 40.1%, 0%, 32.5%)
CIE-LABlab(42.96, 4.60, -42.61)
CIE-LCHlch(42.96, 42.86, 276.17°)
OKLaboklab(50.9% -0.0365 -0.1217)
OKLCHoklch(50.9% 0.127 253.3)
XYZxyz(13.1689, 13.1286, 40.8618)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867AC #AC6D28
analogous
#28A9AC #2867AC #2B28AC
triadic
#2867AC #AC2867 #67AC28
tetradic
#2867AC #AC28A9 #AC6D28 #28AC2B
square
#2867AC #AC28A9 #AC6D28 #28AC2B
split-complementary
#2867AC #AC2B28 #A9AC28
monochromatic
#112C49 #1C497A #2867AC #3F85D2 #71A5DE

Accessibility & contrast

On white

5.79
#2867AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2867AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2867AC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2867AC#FFFFFF#000000##FFFFFF
##2867AC1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466CAF
Deuteranopia (green-blind)
#3160AB
Tritanopia (blue-blind)
#007781
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2867ac;
/* rgb */ color: rgb(40, 103, 172);
/* oklch */ color: oklch(50.9% 0.127 253.3);
Tailwind
colors: {
  custom: {
    50: '#7591c5',
    500: '#2867ac',
    950: '#000000',
  },
}
SCSS
$custom: #2867ac;
$custom-light: #7591c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2867ac",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 172
  },
  "hsl": {
    "h": 211.364,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50902,
    "c": 0.12701,
    "h": 253.3
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#2867AC
secondary
#C59A6B
accent
#9842E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2867AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2867AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva