#2861BC#2861BC

#2861BC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.6% C 0.155 H 259.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2861BC
RGBrgb(40, 97, 188)
HSLhsl(217, 65%, 45%)
HSVhsv(217, 79%, 74%)
CMYKcmyk(78.7%, 48.4%, 0%, 26.3%)
CIE-LABlab(42.20, 14.60, -53.19)
CIE-LCHlch(42.20, 55.15, 285.35°)
OKLaboklab(50.64% -0.0282 -0.1529)
OKLCHoklch(50.64% 0.155 259.5)
XYZxyz(14.2236, 12.6297, 49.2553)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2861BC #BC8328
analogous
#28ABBC #2861BC #3928BC
triadic
#2861BC #BC2861 #61BC28
tetradic
#2861BC #BC28AB #BC8328 #28BC39
square
#2861BC #BC28AB #BC8328 #28BC39
split-complementary
#2861BC #BC3928 #ABBC28
monochromatic
#132D57 #1D478A #2861BC #4980D8 #7BA3E3

Accessibility & contrast

On white

5.96
#2861BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2861BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2861BC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2861BC#FFFFFF#000000##FFFFFF
##2861BC1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BBF
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2861bc;
/* rgb */ color: rgb(40, 97, 188);
/* oklch */ color: oklch(50.6% 0.155 259.5);
Tailwind
colors: {
  custom: {
    50: '#798dd1',
    500: '#2861bc',
    950: '#000000',
  },
}
SCSS
$custom: #2861bc;
$custom-light: #798dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2861bc",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 216.892,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.15545,
    "h": 259.5
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#2861BC
secondary
#CBAA75
accent
#A740E8
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2861BC

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

Preview Lab → · Contrast checker → · Palette generator →

#2861BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva