#2861B3#2861B3

#2861B3 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.0% C 0.143 H 258.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2861B3
RGBrgb(40, 97, 179)
HSLhsl(215, 63%, 43%)
HSVhsv(215, 78%, 70%)
CMYKcmyk(77.7%, 45.8%, 0%, 29.8%)
CIE-LABlab(41.62, 11.13, -48.86)
CIE-LCHlch(41.62, 50.12, 282.83°)
OKLaboklab(50% -0.0297 -0.1402)
OKLCHoklch(50% 0.143 258)
XYZxyz(13.2835, 12.2536, 44.3042)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2861B3 #B37A28
analogous
#28A6B3 #2861B3 #3528B3
triadic
#2861B3 #B32861 #61B328
tetradic
#2861B3 #B328A6 #B37A28 #28B335
square
#2861B3 #B328A6 #B37A28 #28B335
split-complementary
#2861B3 #B33528 #A6B328
monochromatic
#122B4F #1D4681 #2861B3 #437FD5 #75A1E0

Accessibility & contrast

On white

6.09
#2861B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2861B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2861B3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2861B3#FFFFFF#000000##FFFFFF
##2861B31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#165CB1
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2861b3;
/* rgb */ color: rgb(40, 97, 179);
/* oklch */ color: oklch(50.0% 0.143 258.0);
Tailwind
colors: {
  custom: {
    50: '#778dca',
    500: '#2861b3',
    950: '#000000',
  },
}
SCSS
$custom: #2861b3;
$custom-light: #778dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2861b3",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 179
  },
  "hsl": {
    "h": 215.396,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49999,
    "c": 0.14328,
    "h": 258
  },
  "luminance": 0.12255
}

Semantic roles & 50–950 ramp

primary
#2861B3
secondary
#C8A36F
accent
#A341E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2861B3

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

Preview Lab → · Contrast checker → · Palette generator →

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