#5D65E1#5D65E1

#5D65E1 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.8% C 0.186 H 276.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5D65E1
RGBrgb(93, 101, 225)
HSLhsl(236, 69%, 62%)
HSVhsv(236, 59%, 88%)
CMYKcmyk(58.7%, 55.1%, 0%, 11.8%)
CIE-LABlab(48.35, 33.11, -64.35)
CIE-LCHlch(48.35, 72.37, 297.22°)
OKLaboklab(56.78% 0.0193 -0.1846)
OKLCHoklch(56.78% 0.186 276)
XYZxyz(22.7541, 17.0691, 73.3152)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D65E1 #E1D95D
analogous
#5DA7E1 #5D65E1 #975DE1
triadic
#5D65E1 #E15D65 #65E15D
tetradic
#5D65E1 #E15DA7 #E1D95D #5DE197
square
#5D65E1 #E15DA7 #E1D95D #5DE197
split-complementary
#5D65E1 #E1975D #A7E15D
monochromatic
#1F27A5 #2934D7 #5D65E1 #9196EB #C4C7F4

Accessibility & contrast

On white

4.76
#5D65E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5D65E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D65E1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D65E1#FFFFFF#000000##FFFFFF
##5D65E11.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E5
Deuteranopia (green-blind)
#006DDE
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d65e1;
/* rgb */ color: rgb(93, 101, 225);
/* oklch */ color: oklch(56.8% 0.186 276.0);
Tailwind
colors: {
  custom: {
    50: '#9690eb',
    500: '#5d65e1',
    950: '#000000',
  },
}
SCSS
$custom: #5d65e1;
$custom-light: #9690eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d65e1",
  "rgb": {
    "r": 93,
    "g": 101,
    "b": 225
  },
  "hsl": {
    "h": 236.364,
    "s": 68.75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56779,
    "c": 0.18562,
    "h": 276
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#5D65E1
secondary
#E5E2B5
accent
#C515D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D65E1

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

Preview Lab → · Contrast checker → · Palette generator →

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