#2867A6#2867A6

#2867A6 is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.5% C 0.119 H 251.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2867A6
RGBrgb(40, 103, 166)
HSLhsl(210, 61%, 40%)
HSVhsv(210, 76%, 65%)
CMYKcmyk(75.9%, 38%, 0%, 34.9%)
CIE-LABlab(42.62, 2.32, -39.62)
CIE-LCHlch(42.62, 39.69, 273.36°)
OKLaboklab(50.53% -0.0379 -0.1129)
OKLCHoklch(50.53% 0.119 251.4)
XYZxyz(12.6057, 12.9033, 37.8952)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867A6 #A66728
analogous
#28A6A6 #2867A6 #2828A6
triadic
#2867A6 #A62867 #67A628
tetradic
#2867A6 #A628A6 #A66728 #28A628
square
#2867A6 #A628A6 #A66728 #28A628
split-complementary
#2867A6 #A62828 #A6A628
monochromatic
#102A43 #1C4875 #2867A6 #3B86D0 #6DA4DC

Accessibility & contrast

On white

5.86
#2867A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2867A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2867A6#FFFFFF#000000##FFFFFF
##2867A61.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6BA9
Deuteranopia (green-blind)
#375FA5
Tritanopia (blue-blind)
#00767E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2867a6;
/* rgb */ color: rgb(40, 103, 166);
/* oklch */ color: oklch(50.5% 0.119 251.4);
Tailwind
colors: {
  custom: {
    50: '#7492c1',
    500: '#2867a6',
    950: '#000000',
  },
}
SCSS
$custom: #2867a6;
$custom-light: #7492c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2867a6",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 166
  },
  "hsl": {
    "h": 210,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50527,
    "c": 0.1191,
    "h": 251.4
  },
  "luminance": 0.12905
}

Semantic roles & 50–950 ramp

primary
#2867A6
secondary
#C29567
accent
#9444E4
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2867A6

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

Preview Lab → · Contrast checker → · Palette generator →

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