#5865E9#5865E9

#5865E9 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.1% C 0.197 H 274.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5865E9
RGBrgb(88, 101, 233)
HSLhsl(235, 77%, 63%)
HSVhsv(235, 62%, 91%)
CMYKcmyk(62.2%, 56.7%, 0%, 8.6%)
CIE-LABlab(48.59, 34.88, -68.49)
CIE-LCHlch(48.59, 76.86, 296.99°)
OKLaboklab(57.06% 0.014 -0.1969)
OKLCHoklch(57.06% 0.197 274.1)
XYZxyz(23.3813, 17.2633, 79.1750)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865E9 #E9DC58
analogous
#58ADE9 #5865E9 #9458E9
triadic
#5865E9 #E95865 #65E958
tetradic
#5865E9 #E958AD #E9DC58 #58E994
square
#5865E9 #E958AD #E9DC58 #58E994
split-complementary
#5865E9 #E99458 #ADE958
monochromatic
#1725AF #2233E2 #5865E9 #8E97F0 #C4C9F7

Accessibility & contrast

On white

4.72
#5865E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5865E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865E9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865E9#FFFFFF#000000##FFFFFF
##5865E91.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#006DE6
Tritanopia (blue-blind)
#00859D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5865e9;
/* rgb */ color: rgb(88, 101, 233);
/* oklch */ color: oklch(57.1% 0.197 274.1);
Tailwind
colors: {
  custom: {
    50: '#9590f1',
    500: '#5865e9',
    950: '#000000',
  },
}
SCSS
$custom: #5865e9;
$custom-light: #9590f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5865e9",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 233
  },
  "hsl": {
    "h": 234.621,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57055,
    "c": 0.19739,
    "h": 274.1
  },
  "luminance": 0.17265
}

Semantic roles & 50–950 ramp

primary
#5865E9
secondary
#E8E4B4
accent
#C70DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5865E9

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

Preview Lab → · Contrast checker → · Palette generator →

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