#5865DB#5865DB

#5865DB is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.0% C 0.179 H 274.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5865DB
RGBrgb(88, 101, 219)
HSLhsl(234, 65%, 60%)
HSVhsv(234, 60%, 86%)
CMYKcmyk(59.8%, 53.9%, 0%, 14.1%)
CIE-LABlab(47.62, 30.25, -62.15)
CIE-LCHlch(47.62, 69.12, 295.95°)
OKLaboklab(56.02% 0.0136 -0.1782)
OKLCHoklch(56.02% 0.179 274.4)
XYZxyz(21.4602, 16.4949, 69.0570)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865DB #DBCE58
analogous
#58A6DB #5865DB #8D58DB
triadic
#5865DB #DB5865 #65DB58
tetradic
#5865DB #DB58A6 #DBCE58 #58DB8D
square
#5865DB #DB58A6 #DBCE58 #58DB8D
split-complementary
#5865DB #DB8D58 #A6DB58
monochromatic
#212D98 #2C3BCA #5865DB #8A93E6 #BDC2F1

Accessibility & contrast

On white

4.88
#5865DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5865DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865DB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865DB#FFFFFF#000000##FFFFFF
##5865DB1.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)
#1377DF
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5865db;
/* rgb */ color: rgb(88, 101, 219);
/* oklch */ color: oklch(56.0% 0.179 274.4);
Tailwind
colors: {
  custom: {
    50: '#9390e7',
    500: '#5865db',
    950: '#000000',
  },
}
SCSS
$custom: #5865db;
$custom-light: #9390e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5865db",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 234.046,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5602,
    "c": 0.17877,
    "h": 274.4
  },
  "luminance": 0.16497
}

Semantic roles & 50–950 ramp

primary
#5865DB
secondary
#E1DCAE
accent
#BB19CC
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5865DB

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

Preview Lab → · Contrast checker → · Palette generator →

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