#2867C6#2867C6

#2867C6 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.7% C 0.162 H 258.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2867C6
RGBrgb(40, 103, 198)
HSLhsl(216, 66%, 47%)
HSVhsv(216, 80%, 78%)
CMYKcmyk(79.8%, 48%, 0%, 22.4%)
CIE-LABlab(44.56, 14.57, -55.18)
CIE-LCHlch(44.56, 57.07, 284.79°)
OKLaboklab(52.66% -0.0313 -0.1586)
OKLCHoklch(52.66% 0.162 258.8)
XYZxyz(15.9146, 14.2269, 55.3224)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2867C6 #C68728
analogous
#28B6C6 #2867C6 #3828C6
triadic
#2867C6 #C62867 #67C628
tetradic
#2867C6 #C628B6 #C68728 #28C638
square
#2867C6 #C628B6 #C68728 #28C638
split-complementary
#2867C6 #C63828 #B6C628
monochromatic
#133260 #1E4D93 #2867C6 #5087DC #83AAE6

Accessibility & contrast

On white

5.46
#2867C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2867C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2867C6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2867C6#FFFFFF#000000##FFFFFF
##2867C61.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3171CA
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#007E8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2867c6;
/* rgb */ color: rgb(40, 103, 198);
/* oklch */ color: oklch(52.7% 0.162 258.8);
Tailwind
colors: {
  custom: {
    50: '#7b91d8',
    500: '#2867c6',
    950: '#000000',
  },
}
SCSS
$custom: #2867c6;
$custom-light: #7b91d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2867c6",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 198
  },
  "hsl": {
    "h": 216.076,
    "s": 66.387,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52657,
    "c": 0.16169,
    "h": 258.8
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

primary
#2867C6
secondary
#CFAD7B
accent
#A53EE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2867C6

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

Preview Lab → · Contrast checker → · Palette generator →

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