#5865E1#5865E1

#5865E1 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.5% C 0.187 H 274.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5865E1
RGBrgb(88, 101, 225)
HSLhsl(234, 70%, 61%)
HSVhsv(234, 61%, 88%)
CMYKcmyk(60.9%, 55.1%, 0%, 11.8%)
CIE-LABlab(48.03, 32.24, -64.89)
CIE-LCHlch(48.03, 72.45, 296.42°)
OKLaboklab(56.46% 0.0138 -0.1863)
OKLCHoklch(56.46% 0.187 274.2)
XYZxyz(22.2643, 16.8165, 73.2922)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5865E1 #E1D458
analogous
#58A9E1 #5865E1 #9058E1
triadic
#5865E1 #E15865 #65E158
tetradic
#5865E1 #E158A9 #E1D458 #58E190
square
#5865E1 #E158A9 #E1D458 #58E190
split-complementary
#5865E1 #E19058 #A9E158
monochromatic
#1D2AA2 #2637D5 #5865E1 #8C95EA #C0C5F4

Accessibility & contrast

On white

4.81
#5865E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5865E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5865E1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5865E1#FFFFFF#000000##FFFFFF
##5865E11.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#006CDE
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5865e1;
/* rgb */ color: rgb(88, 101, 225);
/* oklch */ color: oklch(56.5% 0.187 274.2);
Tailwind
colors: {
  custom: {
    50: '#9490eb',
    500: '#5865e1',
    950: '#000000',
  },
}
SCSS
$custom: #5865e1;
$custom-light: #9490eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5865e1",
  "rgb": {
    "r": 88,
    "g": 101,
    "b": 225
  },
  "hsl": {
    "h": 234.307,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56458,
    "c": 0.18681,
    "h": 274.2
  },
  "luminance": 0.16818
}

Semantic roles & 50–950 ramp

primary
#5865E1
secondary
#E4DFB1
accent
#C014D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5865E1

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

Preview Lab → · Contrast checker → · Palette generator →

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