#2861B7#2861B7

#2861B7 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.149 H 258.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2861B7
RGBrgb(40, 97, 183)
HSLhsl(216, 64%, 44%)
HSVhsv(216, 78%, 72%)
CMYKcmyk(78.1%, 47%, 0%, 28.2%)
CIE-LABlab(41.87, 12.67, -50.80)
CIE-LCHlch(41.87, 52.35, 284.00°)
OKLaboklab(50.28% -0.029 -0.1458)
OKLCHoklch(50.28% 0.149 258.7)
XYZxyz(13.6939, 12.4178, 46.4657)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2861B7 #B77E28
analogous
#28A8B7 #2861B7 #3628B7
triadic
#2861B7 #B72861 #61B728
tetradic
#2861B7 #B728A8 #B77E28 #28B736
square
#2861B7 #B728A8 #B77E28 #28B736
split-complementary
#2861B7 #B73628 #A8B728
monochromatic
#122C53 #1D4685 #2861B7 #467FD6 #78A2E1

Accessibility & contrast

On white

6.03
#2861B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2861B7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2861B7#FFFFFF#000000##FFFFFF
##2861B71.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABA
Deuteranopia (green-blind)
#095DB5
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2861b7;
/* rgb */ color: rgb(40, 97, 183);
/* oklch */ color: oklch(50.3% 0.149 258.7);
Tailwind
colors: {
  custom: {
    50: '#778dcd',
    500: '#2861b7',
    950: '#000000',
  },
}
SCSS
$custom: #2861b7;
$custom-light: #778dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2861b7",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 183
  },
  "hsl": {
    "h": 216.084,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50279,
    "c": 0.14869,
    "h": 258.7
  },
  "luminance": 0.12419
}

Semantic roles & 50–950 ramp

primary
#2861B7
secondary
#C9A672
accent
#A541E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2861B7

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

Preview Lab → · Contrast checker → · Palette generator →

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