#2864B8#2864B8

#2864B8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.0% C 0.146 H 257.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2864B8
RGBrgb(40, 100, 184)
HSLhsl(215, 64%, 44%)
HSVhsv(215, 78%, 72%)
CMYKcmyk(78.3%, 45.7%, 0%, 27.8%)
CIE-LABlab(42.80, 11.12, -49.89)
CIE-LCHlch(42.80, 51.11, 282.56°)
OKLaboklab(51.02% -0.0313 -0.1431)
OKLCHoklch(51.02% 0.146 257.7)
XYZxyz(14.0808, 13.0245, 47.1100)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2864B8 #B87C28
analogous
#28ACB8 #2864B8 #3428B8
triadic
#2864B8 #B82864 #64B828
tetradic
#2864B8 #B828AC #B87C28 #28B834
square
#2864B8 #B828AC #B87C28 #28B834
split-complementary
#2864B8 #B83428 #ACB828
monochromatic
#122D53 #1D4986 #2864B8 #4683D7 #79A4E2

Accessibility & contrast

On white

5.82
#2864B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2864B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2864B8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2864B8#FFFFFF#000000##FFFFFF
##2864B81.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386CBB
Deuteranopia (green-blind)
#165FB6
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2864b8;
/* rgb */ color: rgb(40, 100, 184);
/* oklch */ color: oklch(51.0% 0.146 257.7);
Tailwind
colors: {
  custom: {
    50: '#788fce',
    500: '#2864b8',
    950: '#000000',
  },
}
SCSS
$custom: #2864b8;
$custom-light: #788fce;
$custom-dark: #000000;
JSON
{
  "hex": "#2864b8",
  "rgb": {
    "r": 40,
    "g": 100,
    "b": 184
  },
  "hsl": {
    "h": 215,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51015,
    "c": 0.14649,
    "h": 257.7
  },
  "luminance": 0.13026
}

Semantic roles & 50–950 ramp

primary
#2864B8
secondary
#CAA572
accent
#A241E7
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2864B8

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

Preview Lab → · Contrast checker → · Palette generator →

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