#2867AA#2867AA

#2867AA is a mid, vivid cyan. Relative luminance 0.131; OKLCH L 50.8% C 0.124 H 252.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2867AA
RGBrgb(40, 103, 170)
HSLhsl(211, 62%, 41%)
HSVhsv(211, 76%, 67%)
CMYKcmyk(76.5%, 39.4%, 0%, 33.3%)
CIE-LABlab(42.84, 3.84, -41.62)
CIE-LCHlch(42.84, 41.79, 275.27°)
OKLaboklab(50.78% -0.0369 -0.1187)
OKLCHoklch(50.78% 0.124 252.7)
XYZxyz(12.9783, 13.0524, 39.8578)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867AA #AA6B28
analogous
#28A8AA #2867AA #2A28AA
triadic
#2867AA #AA2867 #67AA28
tetradic
#2867AA #AA28A8 #AA6B28 #28AA2A
square
#2867AA #AA28A8 #AA6B28 #28AA2A
split-complementary
#2867AA #AA2A28 #A8AA28
monochromatic
#112B47 #1C4978 #2867AA #3E85D2 #6FA5DD

Accessibility & contrast

On white

5.82
#2867AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2867AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2867AA#FFFFFF#000000##FFFFFF
##2867AA1.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)
#476CAD
Deuteranopia (green-blind)
#3360A9
Tritanopia (blue-blind)
#007780
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2867aa;
/* rgb */ color: rgb(40, 103, 170);
/* oklch */ color: oklch(50.8% 0.124 252.7);
Tailwind
colors: {
  custom: {
    50: '#7591c4',
    500: '#2867aa',
    950: '#000000',
  },
}
SCSS
$custom: #2867aa;
$custom-light: #7591c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2867aa",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 170
  },
  "hsl": {
    "h": 210.923,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50776,
    "c": 0.12436,
    "h": 252.7
  },
  "luminance": 0.13054
}

Semantic roles & 50–950 ramp

primary
#2867AA
secondary
#C4986A
accent
#9643E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2867AA

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

Preview Lab → · Contrast checker → · Palette generator →

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