#5865DF#5865DF

#5865DF is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.3% C 0.184 H 274.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5865DF
RGBrgb(88, 101, 223)
HSLhsl(234, 68%, 61%)
HSVhsv(234, 61%, 87%)
CMYKcmyk(60.5%, 54.7%, 0%, 12.5%)
CIE-LABlab(47.89, 31.58, -63.98)
CIE-LCHlch(47.89, 71.34, 296.27°)
OKLaboklab(56.31% 0.0138 -0.1836)
OKLCHoklch(56.31% 0.184 274.3)
XYZxyz(21.9931, 16.7080, 71.8637)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865DF #DFD258
analogous
#58A8DF #5865DF #8E58DF
triadic
#5865DF #DF5865 #65DF58
tetradic
#5865DF #DF58A8 #DFD258 #58DF8E
square
#5865DF #DF58A8 #DFD258 #58DF8E
split-complementary
#5865DF #DF8E58 #A8DF58
monochromatic
#1E2B9E #2838D2 #5865DF #8B94E9 #BFC4F3

Accessibility & contrast

On white

4.84
#5865DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5865DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865DF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865DF#FFFFFF#000000##FFFFFF
##5865DF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0278E3
Deuteranopia (green-blind)
#006CDD
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5865df;
/* rgb */ color: rgb(88, 101, 223);
/* oklch */ color: oklch(56.3% 0.184 274.3);
Tailwind
colors: {
  custom: {
    50: '#9390ea',
    500: '#5865df',
    950: '#000000',
  },
}
SCSS
$custom: #5865df;
$custom-light: #9390ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5865df",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 223
  },
  "hsl": {
    "h": 234.222,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56311,
    "c": 0.18415,
    "h": 274.3
  },
  "luminance": 0.1671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5865DF

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

Preview Lab → · Contrast checker → · Palette generator →

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