#2867A8#2867A8

#2867A8 is a mid, vivid cyan. Relative luminance 0.130; OKLCH L 50.7% C 0.122 H 252.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2867A8
RGBrgb(40, 103, 168)
HSLhsl(210, 62%, 41%)
HSVhsv(210, 76%, 66%)
CMYKcmyk(76.2%, 38.7%, 0%, 34.1%)
CIE-LABlab(42.73, 3.08, -40.62)
CIE-LCHlch(42.73, 40.74, 274.34°)
OKLaboklab(50.65% -0.0374 -0.1158)
OKLCHoklch(50.65% 0.122 252.1)
XYZxyz(12.7906, 12.9773, 38.8690)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867A8 #A86928
analogous
#28A7A8 #2867A8 #2928A8
triadic
#2867A8 #A82867 #67A828
tetradic
#2867A8 #A828A7 #A86928 #28A829
square
#2867A8 #A828A7 #A86928 #28A829
split-complementary
#2867A8 #A82928 #A7A828
monochromatic
#102A45 #1C4977 #2867A8 #3D85D1 #6EA4DC

Accessibility & contrast

On white

5.84
#2867A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2867A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2867A8#FFFFFF#000000##FFFFFF
##2867A81.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496BAB
Deuteranopia (green-blind)
#3560A7
Tritanopia (blue-blind)
#00767F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2867a8;
/* rgb */ color: rgb(40, 103, 168);
/* oklch */ color: oklch(50.7% 0.122 252.1);
Tailwind
colors: {
  custom: {
    50: '#7491c2',
    500: '#2867a8',
    950: '#000000',
  },
}
SCSS
$custom: #2867a8;
$custom-light: #7491c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2867a8",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 168
  },
  "hsl": {
    "h": 210.469,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50651,
    "c": 0.12172,
    "h": 252.1
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#2867A8
secondary
#C39769
accent
#9543E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2867A8

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

Preview Lab → · Contrast checker → · Palette generator →

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