#5B65E3#5B65E3

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

Color values

HEX#5B65E3
RGBrgb(91, 101, 227)
HSLhsl(236, 71%, 62%)
HSVhsv(236, 60%, 89%)
CMYKcmyk(59.9%, 55.5%, 0%, 11%)
CIE-LABlab(48.36, 33.41, -65.48)
CIE-LCHlch(48.36, 73.51, 297.03°)
OKLaboklab(56.8% 0.0172 -0.188)
OKLCHoklch(56.8% 0.189 275.2)
XYZxyz(22.8287, 17.0758, 74.7511)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B65E3 #E3D95B
analogous
#5BA9E3 #5B65E3 #955BE3
triadic
#5B65E3 #E35B65 #65E35B
tetradic
#5B65E3 #E35BA9 #E3D95B #5BE395
square
#5B65E3 #E35BA9 #E3D95B #5BE395
split-complementary
#5B65E3 #E3955B #A9E35B
monochromatic
#1D27A7 #2734DA #5B65E3 #8F96EC #C4C7F5

Accessibility & contrast

On white

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

On black

4.42
#5B65E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5B65E3#FFFFFF#000000##FFFFFF
##5B65E31.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#006DE0
Tritanopia (blue-blind)
#00839A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b65e3;
/* rgb */ color: rgb(91, 101, 227);
/* oklch */ color: oklch(56.8% 0.189 275.2);
Tailwind
colors: {
  custom: {
    50: '#9690ed',
    500: '#5b65e3',
    950: '#000000',
  },
}
SCSS
$custom: #5b65e3;
$custom-light: #9690ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5b65e3",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 227
  },
  "hsl": {
    "h": 235.588,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56796,
    "c": 0.18874,
    "h": 275.2
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#5B65E3
secondary
#E6E2B4
accent
#C513D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B65E3

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

Preview Lab → · Contrast checker → · Palette generator →

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