#2861B6#2861B6

#2861B6 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.2% C 0.147 H 258.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2861B6
RGBrgb(40, 97, 182)
HSLhsl(216, 64%, 44%)
HSVhsv(216, 78%, 71%)
CMYKcmyk(78%, 46.7%, 0%, 28.6%)
CIE-LABlab(41.81, 12.28, -50.31)
CIE-LCHlch(41.81, 51.79, 283.72°)
OKLaboklab(50.21% -0.0292 -0.1444)
OKLCHoklch(50.21% 0.147 258.6)
XYZxyz(13.5902, 12.3763, 45.9195)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2861B6 #B67D28
analogous
#28A8B6 #2861B6 #3628B6
triadic
#2861B6 #B62861 #61B628
tetradic
#2861B6 #B628A8 #B67D28 #28B636
square
#2861B6 #B628A8 #B67D28 #28B636
split-complementary
#2861B6 #B63628 #A8B628
monochromatic
#122C52 #1D4684 #2861B6 #457FD6 #77A2E1

Accessibility & contrast

On white

6.04
#2861B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2861B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2861B6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2861B6#FFFFFF#000000##FFFFFF
##2861B61.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336AB9
Deuteranopia (green-blind)
#0D5DB4
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2861b6;
/* rgb */ color: rgb(40, 97, 182);
/* oklch */ color: oklch(50.2% 0.147 258.6);
Tailwind
colors: {
  custom: {
    50: '#778dcc',
    500: '#2861b6',
    950: '#000000',
  },
}
SCSS
$custom: #2861b6;
$custom-light: #778dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2861b6",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 182
  },
  "hsl": {
    "h": 215.915,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50209,
    "c": 0.14734,
    "h": 258.6
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#2861B6
secondary
#C9A671
accent
#A441E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2861B6

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

Preview Lab → · Contrast checker → · Palette generator →

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