#2867AD#2867AD

#2867AD is a mid, vivid cyan. Relative luminance 0.132; OKLCH L 51.0% C 0.128 H 253.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2867AD
RGBrgb(40, 103, 173)
HSLhsl(212, 62%, 42%)
HSVhsv(212, 77%, 68%)
CMYKcmyk(76.9%, 40.5%, 0%, 32.2%)
CIE-LABlab(43.01, 4.98, -43.11)
CIE-LCHlch(43.01, 43.39, 276.60°)
OKLaboklab(50.97% -0.0362 -0.1231)
OKLCHoklch(50.97% 0.128 253.6)
XYZxyz(13.2653, 13.1672, 41.3695)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867AD #AD6E28
analogous
#28AAAD #2867AD #2C28AD
triadic
#2867AD #AD2867 #67AD28
tetradic
#2867AD #AD28AA #AD6E28 #28AD2C
square
#2867AD #AD28AA #AD6E28 #28AD2C
split-complementary
#2867AD #AD2C28 #AAAD28
monochromatic
#112C4A #1D497B #2867AD #3F85D3 #71A5DE

Accessibility & contrast

On white

5.78
#2867AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2867AD#FFFFFF#000000##FFFFFF
##2867AD1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466CB0
Deuteranopia (green-blind)
#3060AC
Tritanopia (blue-blind)
#007881
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2867ad;
/* rgb */ color: rgb(40, 103, 173);
/* oklch */ color: oklch(51.0% 0.128 253.6);
Tailwind
colors: {
  custom: {
    50: '#7591c6',
    500: '#2867ad',
    950: '#000000',
  },
}
SCSS
$custom: #2867ad;
$custom-light: #7591c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2867ad",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 173
  },
  "hsl": {
    "h": 211.579,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50966,
    "c": 0.12833,
    "h": 253.6
  },
  "luminance": 0.13169
}

Semantic roles & 50–950 ramp

primary
#2867AD
secondary
#C59B6C
accent
#9842E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2867AD

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

Preview Lab → · Contrast checker → · Palette generator →

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