#2861B5#2861B5

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

Color values

HEX#2861B5
RGBrgb(40, 97, 181)
HSLhsl(216, 64%, 43%)
HSVhsv(216, 78%, 71%)
CMYKcmyk(77.9%, 46.4%, 0%, 29%)
CIE-LABlab(41.74, 11.90, -49.83)
CIE-LCHlch(41.74, 51.23, 283.43°)
OKLaboklab(50.14% -0.0294 -0.143)
OKLCHoklch(50.14% 0.146 258.4)
XYZxyz(13.4872, 12.3351, 45.3772)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2861B5 #B57C28
analogous
#28A7B5 #2861B5 #3628B5
triadic
#2861B5 #B52861 #61B528
tetradic
#2861B5 #B528A7 #B57C28 #28B536
square
#2861B5 #B528A7 #B57C28 #28B536
split-complementary
#2861B5 #B53628 #A7B528
monochromatic
#122B51 #1D4683 #2861B5 #447FD6 #77A2E1

Accessibility & contrast

On white

6.06
#2861B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2861B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2861B5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2861B5#FFFFFF#000000##FFFFFF
##2861B51.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3469B8
Deuteranopia (green-blind)
#105DB3
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2861b5;
/* rgb */ color: rgb(40, 97, 181);
/* oklch */ color: oklch(50.1% 0.146 258.4);
Tailwind
colors: {
  custom: {
    50: '#778dcc',
    500: '#2861b5',
    950: '#000000',
  },
}
SCSS
$custom: #2861b5;
$custom-light: #778dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2861b5",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 181
  },
  "hsl": {
    "h": 215.745,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50138,
    "c": 0.14598,
    "h": 258.4
  },
  "luminance": 0.12337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2861B5

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

Preview Lab → · Contrast checker → · Palette generator →

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