#5864DF#5864DF

#5864DF is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.1% C 0.185 H 274.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5864DF
RGBrgb(88, 100, 223)
HSLhsl(235, 68%, 61%)
HSVhsv(235, 61%, 87%)
CMYKcmyk(60.5%, 55.2%, 0%, 12.5%)
CIE-LABlab(47.64, 32.19, -64.38)
CIE-LCHlch(47.64, 71.98, 296.57°)
OKLaboklab(56.13% 0.0147 -0.1848)
OKLCHoklch(56.13% 0.185 274.5)
XYZxyz(21.8966, 16.5150, 71.8316)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5864DF #DFD358
analogous
#58A7DF #5864DF #8F58DF
triadic
#5864DF #DF5864 #64DF58
tetradic
#5864DF #DF58A7 #DFD358 #58DF8F
square
#5864DF #DF58A7 #DFD358 #58DF8F
split-complementary
#5864DF #DF8F58 #A7DF58
monochromatic
#1E2A9E #2837D2 #5864DF #8B94E9 #BFC3F3

Accessibility & contrast

On white

4.88
#5864DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5864DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5864DF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5864DF#FFFFFF#000000##FFFFFF
##5864DF1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5864df;
/* rgb */ color: rgb(88, 100, 223);
/* oklch */ color: oklch(56.1% 0.185 274.5);
Tailwind
colors: {
  custom: {
    50: '#9390ea',
    500: '#5864df',
    950: '#000000',
  },
}
SCSS
$custom: #5864df;
$custom-light: #9390ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5864df",
  "rgb": {
    "r": 88,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 234.667,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56127,
    "c": 0.18539,
    "h": 274.5
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#5864DF
secondary
#E3DEB0
accent
#BF16D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5864DF

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

Preview Lab → · Contrast checker → · Palette generator →

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