#2861B2#2861B2

#2861B2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 49.9% C 0.142 H 257.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2861B2
RGBrgb(40, 97, 178)
HSLhsl(215, 63%, 43%)
HSVhsv(215, 78%, 70%)
CMYKcmyk(77.5%, 45.5%, 0%, 30.2%)
CIE-LABlab(41.55, 10.74, -48.38)
CIE-LCHlch(41.55, 49.56, 282.52°)
OKLaboklab(49.93% -0.0299 -0.1387)
OKLCHoklch(49.93% 0.142 257.8)
XYZxyz(13.1827, 12.2133, 43.7735)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2861B2 #B27928
analogous
#28A6B2 #2861B2 #3428B2
triadic
#2861B2 #B22861 #61B228
tetradic
#2861B2 #B228A6 #B27928 #28B234
square
#2861B2 #B228A6 #B27928 #28B234
split-complementary
#2861B2 #B23428 #A6B228
monochromatic
#122B4E #1D4680 #2861B2 #437FD5 #75A1E0

Accessibility & contrast

On white

6.10
#2861B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2861B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2861B2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2861B2#FFFFFF#000000##FFFFFF
##2861B21.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#185CB0
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2861b2;
/* rgb */ color: rgb(40, 97, 178);
/* oklch */ color: oklch(49.9% 0.142 257.8);
Tailwind
colors: {
  custom: {
    50: '#768dc9',
    500: '#2861b2',
    950: '#000000',
  },
}
SCSS
$custom: #2861b2;
$custom-light: #768dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2861b2",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 178
  },
  "hsl": {
    "h": 215.217,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4993,
    "c": 0.14192,
    "h": 257.8
  },
  "luminance": 0.12215
}

Semantic roles & 50–950 ramp

primary
#2861B2
secondary
#C7A36F
accent
#A241E6
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2861B2

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

Preview Lab → · Contrast checker → · Palette generator →

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