#2867A7#2867A7

#2867A7 is a mid, vivid cyan. Relative luminance 0.129; OKLCH L 50.6% C 0.120 H 251.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2867A7
RGBrgb(40, 103, 167)
HSLhsl(210, 61%, 41%)
HSVhsv(210, 76%, 65%)
CMYKcmyk(76%, 38.3%, 0%, 34.5%)
CIE-LABlab(42.67, 2.70, -40.12)
CIE-LCHlch(42.67, 40.21, 273.85°)
OKLaboklab(50.59% -0.0377 -0.1144)
OKLCHoklch(50.59% 0.12 251.8)
XYZxyz(12.6978, 12.9402, 38.3802)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867A7 #A76828
analogous
#28A6A7 #2867A7 #2828A7
triadic
#2867A7 #A72867 #67A728
tetradic
#2867A7 #A728A6 #A76828 #28A728
square
#2867A7 #A728A6 #A76828 #28A728
split-complementary
#2867A7 #A72828 #A6A728
monochromatic
#102A44 #1C4976 #2867A7 #3C86D0 #6DA4DC

Accessibility & contrast

On white

5.85
#2867A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2867A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2867A7#FFFFFF#000000##FFFFFF
##2867A71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496BAA
Deuteranopia (green-blind)
#365FA6
Tritanopia (blue-blind)
#00767F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2867a7;
/* rgb */ color: rgb(40, 103, 167);
/* oklch */ color: oklch(50.6% 0.120 251.8);
Tailwind
colors: {
  custom: {
    50: '#7492c1',
    500: '#2867a7',
    950: '#000000',
  },
}
SCSS
$custom: #2867a7;
$custom-light: #7492c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2867a7",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 167
  },
  "hsl": {
    "h": 210.236,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50589,
    "c": 0.12041,
    "h": 251.8
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#2867A7
secondary
#C39668
accent
#9543E4
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2867A7

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

Preview Lab → · Contrast checker → · Palette generator →

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