#2867AB#2867AB

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

Color values

HEX#2867AB
RGBrgb(40, 103, 171)
HSLhsl(211, 62%, 41%)
HSVhsv(211, 77%, 67%)
CMYKcmyk(76.6%, 39.8%, 0%, 32.9%)
CIE-LABlab(42.90, 4.22, -42.12)
CIE-LCHlch(42.90, 42.33, 275.73°)
OKLaboklab(50.84% -0.0367 -0.1202)
OKLCHoklch(50.84% 0.126 253)
XYZxyz(13.0733, 13.0904, 40.3579)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867AB #AB6C28
analogous
#28A9AB #2867AB #2B28AB
triadic
#2867AB #AB2867 #67AB28
tetradic
#2867AB #AB28A9 #AB6C28 #28AB2B
square
#2867AB #AB28A9 #AB6C28 #28AB2B
split-complementary
#2867AB #AB2B28 #A9AB28
monochromatic
#112B48 #1C4979 #2867AB #3E85D2 #70A5DE

Accessibility & contrast

On white

5.80
#2867AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2867AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2867AB#FFFFFF#000000##FFFFFF
##2867AB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476CAE
Deuteranopia (green-blind)
#3260AA
Tritanopia (blue-blind)
#007780
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2867ab;
/* rgb */ color: rgb(40, 103, 171);
/* oklch */ color: oklch(50.8% 0.126 253.0);
Tailwind
colors: {
  custom: {
    50: '#7591c4',
    500: '#2867ab',
    950: '#000000',
  },
}
SCSS
$custom: #2867ab;
$custom-light: #7591c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2867ab",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 171
  },
  "hsl": {
    "h": 211.145,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.12568,
    "h": 253
  },
  "luminance": 0.13092
}

Semantic roles & 50–950 ramp

primary
#2867AB
secondary
#C4996A
accent
#9743E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2867AB

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

Preview Lab → · Contrast checker → · Palette generator →

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