#2860C2#2860C2

#2860C2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.165 H 260.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2860C2
RGBrgb(40, 96, 194)
HSLhsl(218, 66%, 46%)
HSVhsv(218, 79%, 76%)
CMYKcmyk(79.4%, 50.5%, 0%, 23.9%)
CIE-LABlab(42.32, 17.55, -56.47)
CIE-LCHlch(42.32, 59.14, 287.27°)
OKLaboklab(50.86% -0.0266 -0.1626)
OKLCHoklch(50.86% 0.165 260.7)
XYZxyz(14.7920, 12.7101, 52.7022)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2860C2 #C28A28
analogous
#28ADC2 #2860C2 #3D28C2
triadic
#2860C2 #C22860 #60C228
tetradic
#2860C2 #C228AD #C28A28 #28C23D
square
#2860C2 #C228AD #C28A28 #28C23D
split-complementary
#2860C2 #C23D28 #ADC228
monochromatic
#132E5D #1E478F #2860C2 #4D80DA #80A4E5

Accessibility & contrast

On white

5.93
#2860C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2860C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2860C2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2860C2#FFFFFF#000000##FFFFFF
##2860C21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226BC6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2860c2;
/* rgb */ color: rgb(40, 96, 194);
/* oklch */ color: oklch(50.9% 0.165 260.7);
Tailwind
colors: {
  custom: {
    50: '#7a8cd5',
    500: '#2860c2',
    950: '#000000',
  },
}
SCSS
$custom: #2860c2;
$custom-light: #7a8cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#2860c2",
  "rgb": {
    "r": 40,
    "g": 96,
    "b": 194
  },
  "hsl": {
    "h": 218.182,
    "s": 65.812,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.16473,
    "h": 260.7
  },
  "luminance": 0.12712
}

Semantic roles & 50–950 ramp

primary
#2860C2
secondary
#CDAE78
accent
#AB3FE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2860C2

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

Preview Lab → · Contrast checker → · Palette generator →

#2860C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva