#2864BD#2864BD

#2864BD is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.4% C 0.153 H 258.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2864BD
RGBrgb(40, 100, 189)
HSLhsl(216, 65%, 45%)
HSVhsv(216, 79%, 74%)
CMYKcmyk(78.8%, 47.1%, 0%, 25.9%)
CIE-LABlab(43.12, 13.04, -52.29)
CIE-LCHlch(43.12, 53.89, 284.00°)
OKLaboklab(51.36% -0.0304 -0.1502)
OKLCHoklch(51.36% 0.153 258.5)
XYZxyz(14.6142, 13.2379, 49.9192)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864BD #BD8128
analogous
#28AFBD #2864BD #3628BD
triadic
#2864BD #BD2864 #64BD28
tetradic
#2864BD #BD28AF #BD8128 #28BD36
square
#2864BD #BD28AF #BD8128 #28BD36
split-complementary
#2864BD #BD3628 #AFBD28
monochromatic
#132F58 #1D498A #2864BD #4A83D9 #7CA6E3

Accessibility & contrast

On white

5.76
#2864BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2864BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864BD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864BD#FFFFFF#000000##FFFFFF
##2864BD1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DC0
Deuteranopia (green-blind)
#0560BB
Tritanopia (blue-blind)
#007987
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2864bd;
/* rgb */ color: rgb(40, 100, 189);
/* oklch */ color: oklch(51.4% 0.153 258.5);
Tailwind
colors: {
  custom: {
    50: '#798fd1',
    500: '#2864bd',
    950: '#000000',
  },
}
SCSS
$custom: #2864bd;
$custom-light: #798fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2864bd",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 215.839,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51364,
    "c": 0.15322,
    "h": 258.5
  },
  "luminance": 0.1324
}

Semantic roles & 50–950 ramp

primary
#2864BD
secondary
#CBA975
accent
#A440E8
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2864BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2864BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva