#5D65E4#5D65E4

#5D65E4 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.0% C 0.190 H 275.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5D65E4
RGBrgb(93, 101, 228)
HSLhsl(236, 71%, 63%)
HSVhsv(236, 59%, 89%)
CMYKcmyk(59.2%, 55.7%, 0%, 10.6%)
CIE-LABlab(48.55, 34.08, -65.71)
CIE-LCHlch(48.55, 74.03, 297.41°)
OKLaboklab(57% 0.0194 -0.1886)
OKLCHoklch(57% 0.19 275.9)
XYZxyz(23.1669, 17.2342, 75.4895)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D65E4 #E4DC5D
analogous
#5DA9E4 #5D65E4 #985DE4
triadic
#5D65E4 #E45D65 #65E45D
tetradic
#5D65E4 #E45DA9 #E4DC5D #5DE498
square
#5D65E4 #E45DA9 #E4DC5D #5DE498
split-complementary
#5D65E4 #E4985D #A9E45D
monochromatic
#1C25AA #2933DB #5D65E4 #9197ED #C6C9F5

Accessibility & contrast

On white

4.72
#5D65E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5D65E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D65E4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D65E4#FFFFFF#000000##FFFFFF
##5D65E41.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)
#0079E8
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d65e4;
/* rgb */ color: rgb(93, 101, 228);
/* oklch */ color: oklch(57.0% 0.190 275.9);
Tailwind
colors: {
  custom: {
    50: '#9791ed',
    500: '#5d65e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d65e4;
$custom-light: #9791ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d65e4",
  "rgb": {
    "r": 93,
    "g": 101,
    "b": 228
  },
  "hsl": {
    "h": 236.444,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56999,
    "c": 0.1896,
    "h": 275.9
  },
  "luminance": 0.17236
}

Semantic roles & 50–950 ramp

primary
#5D65E4
secondary
#E7E4B6
accent
#C812D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D65E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5D65E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva