#5B65E0#5B65E0

#5B65E0 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.6% C 0.185 H 275.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5B65E0
RGBrgb(91, 101, 224)
HSLhsl(235, 68%, 62%)
HSVhsv(235, 59%, 88%)
CMYKcmyk(59.4%, 54.9%, 0%, 12.2%)
CIE-LABlab(48.15, 32.43, -64.12)
CIE-LCHlch(48.15, 71.85, 296.83°)
OKLaboklab(56.58% 0.0171 -0.184)
OKLCHoklch(56.58% 0.185 275.3)
XYZxyz(22.4182, 16.9116, 72.5895)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B65E0 #E0D65B
analogous
#5BA8E0 #5B65E0 #945BE0
triadic
#5B65E0 #E05B65 #65E05B
tetradic
#5B65E0 #E05BA8 #E0D65B #5BE094
square
#5B65E0 #E05BA8 #E0D65B #5BE094
split-complementary
#5B65E0 #E0945B #A8E05B
monochromatic
#1F28A2 #2835D5 #5B65E0 #8E95EA #C2C6F3

Accessibility & contrast

On white

4.79
#5B65E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5B65E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B65E0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B65E0#FFFFFF#000000##FFFFFF
##5B65E01.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0178E4
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b65e0;
/* rgb */ color: rgb(91, 101, 224);
/* oklch */ color: oklch(56.6% 0.185 275.3);
Tailwind
colors: {
  custom: {
    50: '#9590ea',
    500: '#5b65e0',
    950: '#000000',
  },
}
SCSS
$custom: #5b65e0;
$custom-light: #9590ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b65e0",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 224
  },
  "hsl": {
    "h": 235.489,
    "s": 68.205,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56576,
    "c": 0.18475,
    "h": 275.3
  },
  "luminance": 0.16913
}

Semantic roles & 50–950 ramp

primary
#5B65E0
secondary
#E4E0B3
accent
#C215D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B65E0

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

Preview Lab → · Contrast checker → · Palette generator →

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