#5864EB#5864EB

#5864EB is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.0% C 0.201 H 274.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5864EB
RGBrgb(88, 100, 235)
HSLhsl(235, 79%, 63%)
HSVhsv(235, 63%, 92%)
CMYKcmyk(62.6%, 57.4%, 0%, 7.8%)
CIE-LABlab(48.49, 36.15, -69.77)
CIE-LCHlch(48.49, 78.58, 297.39°)
OKLaboklab(57.03% 0.0149 -0.2007)
OKLCHoklch(57.03% 0.201 274.2)
XYZxyz(23.5721, 17.1852, 80.6560)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5864EB #EBDF58
analogous
#58ADEB #5864EB #9558EB
triadic
#5864EB #EB5864 #64EB58
tetradic
#5864EB #EB58AD #EBDF58 #58EB95
square
#5864EB #EB58AD #EBDF58 #58EB95
split-complementary
#5864EB #EB9558 #ADEB58
monochromatic
#1522B3 #2131E4 #5864EB #8F97F2 #C5C9F8

Accessibility & contrast

On white

4.73
#5864EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5864EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5864EB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5864EB#FFFFFF#000000##FFFFFF
##5864EB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5864eb;
/* rgb */ color: rgb(88, 100, 235);
/* oklch */ color: oklch(57.0% 0.201 274.2);
Tailwind
colors: {
  custom: {
    50: '#9590f2',
    500: '#5864eb',
    950: '#000000',
  },
}
SCSS
$custom: #5864eb;
$custom-light: #9590f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5864eb",
  "rgb": {
    "r": 88,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 235.102,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57028,
    "c": 0.20122,
    "h": 274.2
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#5864EB
secondary
#EAE5B5
accent
#CA0BDB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5864EB

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

Preview Lab → · Contrast checker → · Palette generator →

#5864EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva