#2867CA#2867CA

#2867CA is a mid, vivid blue. Relative luminance 0.144; OKLCH L 52.9% C 0.167 H 259.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2867CA
RGBrgb(40, 103, 202)
HSLhsl(217, 67%, 47%)
HSVhsv(217, 80%, 79%)
CMYKcmyk(80.2%, 49%, 0%, 20.8%)
CIE-LABlab(44.82, 16.10, -57.06)
CIE-LCHlch(44.82, 59.29, 285.76°)
OKLaboklab(52.95% -0.0307 -0.1642)
OKLCHoklch(52.95% 0.167 259.4)
XYZxyz(16.3821, 14.4139, 57.7844)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867CA #CA8B28
analogous
#28B8CA #2867CA #3A28CA
triadic
#2867CA #CA2867 #67CA28
tetradic
#2867CA #CA28B8 #CA8B28 #28CA3A
square
#2867CA #CA28B8 #CA8B28 #28CA3A
split-complementary
#2867CA #CA3A28 #B8CA28
monochromatic
#143364 #1E4D97 #2867CA #5288DD #85ABE7

Accessibility & contrast

On white

5.41
#2867CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2867CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2867CA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2867CA#FFFFFF#000000##FFFFFF
##2867CA1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C72CE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#007F8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2867ca;
/* rgb */ color: rgb(40, 103, 202);
/* oklch */ color: oklch(52.9% 0.167 259.4);
Tailwind
colors: {
  custom: {
    50: '#7c91db',
    500: '#2867ca',
    950: '#000000',
  },
}
SCSS
$custom: #2867ca;
$custom-light: #7c91db;
$custom-dark: #000000;
JSON
{
  "hex": "#2867ca",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 202
  },
  "hsl": {
    "h": 216.667,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52945,
    "c": 0.16701,
    "h": 259.4
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#2867CA
secondary
#D0B07E
accent
#A73EEA
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2867CA

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

Preview Lab → · Contrast checker → · Palette generator →

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