#2868C6#2868C6

#2868C6 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 52.9% C 0.161 H 258.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2868C6
RGBrgb(40, 104, 198)
HSLhsl(216, 66%, 47%)
HSVhsv(216, 80%, 78%)
CMYKcmyk(79.8%, 47.5%, 0%, 22.4%)
CIE-LABlab(44.84, 13.92, -54.73)
CIE-LCHlch(44.84, 56.47, 284.27°)
OKLaboklab(52.88% -0.0321 -0.1573)
OKLCHoklch(52.88% 0.161 258.5)
XYZxyz(16.0147, 14.4270, 55.3558)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2868C6 #C68628
analogous
#28B7C6 #2868C6 #3728C6
triadic
#2868C6 #C62868 #68C628
tetradic
#2868C6 #C628B7 #C68628 #28C637
square
#2868C6 #C628B7 #C68628 #28C637
split-complementary
#2868C6 #C63728 #B7C628
monochromatic
#133360 #1E4D93 #2868C6 #5088DC #83ABE6

Accessibility & contrast

On white

5.40
#2868C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2868C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2868C6
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2868C6#FFFFFF#000000##FFFFFF
##2868C61.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3372C9
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2868c6;
/* rgb */ color: rgb(40, 104, 198);
/* oklch */ color: oklch(52.9% 0.161 258.5);
Tailwind
colors: {
  custom: {
    50: '#7b92d8',
    500: '#2868c6',
    950: '#000000',
  },
}
SCSS
$custom: #2868c6;
$custom-light: #7b92d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2868c6",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 198
  },
  "hsl": {
    "h": 215.696,
    "s": 66.387,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52875,
    "c": 0.16051,
    "h": 258.5
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2868C6

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

Preview Lab → · Contrast checker → · Palette generator →

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