#2861B4#2861B4

#2861B4 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.1% C 0.145 H 258.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2861B4
RGBrgb(40, 97, 180)
HSLhsl(216, 64%, 43%)
HSVhsv(216, 78%, 71%)
CMYKcmyk(77.8%, 46.1%, 0%, 29.4%)
CIE-LABlab(41.68, 11.51, -49.35)
CIE-LCHlch(41.68, 50.67, 283.13°)
OKLaboklab(50.07% -0.0295 -0.1416)
OKLCHoklch(50.07% 0.145 258.2)
XYZxyz(13.3850, 12.2942, 44.8388)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2861B4 #B47B28
analogous
#28A7B4 #2861B4 #3528B4
triadic
#2861B4 #B42861 #61B428
tetradic
#2861B4 #B428A7 #B47B28 #28B435
square
#2861B4 #B428A7 #B47B28 #28B435
split-complementary
#2861B4 #B43528 #A7B428
monochromatic
#122B50 #1D4682 #2861B4 #447FD5 #76A1E1

Accessibility & contrast

On white

6.07
#2861B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2861B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2861B4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2861B4#FFFFFF#000000##FFFFFF
##2861B41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B7
Deuteranopia (green-blind)
#135CB2
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2861b4;
/* rgb */ color: rgb(40, 97, 180);
/* oklch */ color: oklch(50.1% 0.145 258.2);
Tailwind
colors: {
  custom: {
    50: '#778dcb',
    500: '#2861b4',
    950: '#000000',
  },
}
SCSS
$custom: #2861b4;
$custom-light: #778dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2861b4",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 180
  },
  "hsl": {
    "h": 215.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50069,
    "c": 0.14463,
    "h": 258.2
  },
  "luminance": 0.12296
}

Semantic roles & 50–950 ramp

primary
#2861B4
secondary
#C8A470
accent
#A341E7
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2861B4

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

Preview Lab → · Contrast checker → · Palette generator →

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