#2867C3#2867C3

#2867C3 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.4% C 0.158 H 258.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2867C3
RGBrgb(40, 103, 195)
HSLhsl(216, 66%, 46%)
HSVhsv(216, 79%, 76%)
CMYKcmyk(79.5%, 47.2%, 0%, 23.5%)
CIE-LABlab(44.36, 13.41, -53.77)
CIE-LCHlch(44.36, 55.41, 284.01°)
OKLaboklab(52.45% -0.0318 -0.1545)
OKLCHoklch(52.45% 0.158 258.4)
XYZxyz(15.5720, 14.0899, 53.5181)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867C3 #C38428
analogous
#28B4C3 #2867C3 #3728C3
triadic
#2867C3 #C32867 #67C328
tetradic
#2867C3 #C328B4 #C38428 #28C337
square
#2867C3 #C328B4 #C38428 #28C337
split-complementary
#2867C3 #C33728 #B4C328
monochromatic
#13315D #1E4C90 #2867C3 #4E87DB #80A9E5

Accessibility & contrast

On white

5.50
#2867C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2867C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2867C3
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2867C3#FFFFFF#000000##FFFFFF
##2867C31.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3470C6
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#007D8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2867c3;
/* rgb */ color: rgb(40, 103, 195);
/* oklch */ color: oklch(52.4% 0.158 258.4);
Tailwind
colors: {
  custom: {
    50: '#7a91d6',
    500: '#2867c3',
    950: '#000000',
  },
}
SCSS
$custom: #2867c3;
$custom-light: #7a91d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2867c3",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 195
  },
  "hsl": {
    "h": 215.613,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52445,
    "c": 0.1577,
    "h": 258.4
  },
  "luminance": 0.14092
}

Semantic roles & 50–950 ramp

primary
#2867C3
secondary
#CEAB79
accent
#A43FE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2867C3

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

Preview Lab → · Contrast checker → · Palette generator →

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