#2867A2#2867A2

#2867A2 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.3% C 0.114 H 250.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2867A2
RGBrgb(40, 103, 162)
HSLhsl(209, 60%, 40%)
HSVhsv(209, 75%, 64%)
CMYKcmyk(75.3%, 36.4%, 0%, 36.5%)
CIE-LABlab(42.40, 0.81, -37.60)
CIE-LCHlch(42.40, 37.61, 271.24°)
OKLaboklab(50.28% -0.039 -0.107)
OKLCHoklch(50.28% 0.114 250)
XYZxyz(12.2444, 12.7588, 35.9928)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867A2 #A26328
analogous
#28A2A0 #2867A2 #282AA2
triadic
#2867A2 #A22867 #67A228
tetradic
#2867A2 #A028A2 #A26328 #2AA228
square
#2867A2 #A028A2 #A26328 #2AA228
split-complementary
#2867A2 #A2282A #A2A028
monochromatic
#102940 #1C4871 #2867A2 #3986CE #6AA4DA

Accessibility & contrast

On white

5.91
#2867A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2867A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2867A2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2867A2#FFFFFF#000000##FFFFFF
##2867A21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA4
Deuteranopia (green-blind)
#3A5FA1
Tritanopia (blue-blind)
#00757D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2867a2;
/* rgb */ color: rgb(40, 103, 162);
/* oklch */ color: oklch(50.3% 0.114 250.0);
Tailwind
colors: {
  custom: {
    50: '#7392be',
    500: '#2867a2',
    950: '#000000',
  },
}
SCSS
$custom: #2867a2;
$custom-light: #7392be;
$custom-dark: #000000;
JSON
{
  "hex": "#2867a2",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 162
  },
  "hsl": {
    "h": 209.016,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50283,
    "c": 0.11387,
    "h": 250
  },
  "luminance": 0.1276
}

Semantic roles & 50–950 ramp

primary
#2867A2
secondary
#C19165
accent
#9144E4
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2867A2

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

Preview Lab → · Contrast checker → · Palette generator →

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