#2864BA#2864BA

#2864BA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.2% C 0.149 H 258.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2864BA
RGBrgb(40, 100, 186)
HSLhsl(215, 65%, 44%)
HSVhsv(215, 78%, 73%)
CMYKcmyk(78.5%, 46.2%, 0%, 27.1%)
CIE-LABlab(42.93, 11.89, -50.85)
CIE-LCHlch(42.93, 52.22, 283.16°)
OKLaboklab(51.15% -0.0309 -0.1459)
OKLCHoklch(51.15% 0.149 258)
XYZxyz(14.2919, 13.1089, 48.2219)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864BA #BA7E28
analogous
#28ADBA #2864BA #3528BA
triadic
#2864BA #BA2864 #64BA28
tetradic
#2864BA #BA28AD #BA7E28 #28BA35
square
#2864BA #BA28AD #BA7E28 #28BA35
split-complementary
#2864BA #BA3528 #ADBA28
monochromatic
#122E55 #1D4988 #2864BA #4883D8 #7AA5E2

Accessibility & contrast

On white

5.80
#2864BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2864BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864BA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864BA#FFFFFF#000000##FFFFFF
##2864BA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366CBD
Deuteranopia (green-blind)
#115FB8
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2864ba;
/* rgb */ color: rgb(40, 100, 186);
/* oklch */ color: oklch(51.2% 0.149 258.0);
Tailwind
colors: {
  custom: {
    50: '#788fcf',
    500: '#2864ba',
    950: '#000000',
  },
}
SCSS
$custom: #2864ba;
$custom-light: #788fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2864ba",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 186
  },
  "hsl": {
    "h": 215.342,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51154,
    "c": 0.14918,
    "h": 258
  },
  "luminance": 0.13111
}

Semantic roles & 50–950 ramp

primary
#2864BA
secondary
#CAA773
accent
#A340E8
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2864BA

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

Preview Lab → · Contrast checker → · Palette generator →

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