#5B65D7#5B65D7

#5B65D7 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.9% C 0.173 H 275.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5B65D7
RGBrgb(91, 101, 215)
HSLhsl(235, 61%, 60%)
HSVhsv(235, 58%, 84%)
CMYKcmyk(57.7%, 53%, 0%, 15.7%)
CIE-LABlab(47.54, 29.48, -59.99)
CIE-LCHlch(47.54, 66.84, 296.17°)
OKLaboklab(55.93% 0.0167 -0.1718)
OKLCHoklch(55.93% 0.173 275.5)
XYZxyz(21.2298, 16.4362, 66.3306)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B65D7 #D7CD5B
analogous
#5BA3D7 #5B65D7 #8F5BD7
triadic
#5B65D7 #D75B65 #65D75B
tetradic
#5B65D7 #D75BA3 #D7CD5B #5BD78F
square
#5B65D7 #D75BA3 #D7CD5B #5BD78F
split-complementary
#5B65D7 #D78F5B #A3D75B
monochromatic
#242D94 #303CC5 #5B65D7 #8C93E3 #BDC1EF

Accessibility & contrast

On white

4.90
#5B65D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5B65D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B65D7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B65D7#FFFFFF#000000##FFFFFF
##5B65D71.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F76DB
Deuteranopia (green-blind)
#006CD5
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b65d7;
/* rgb */ color: rgb(91, 101, 215);
/* oklch */ color: oklch(55.9% 0.173 275.5);
Tailwind
colors: {
  custom: {
    50: '#9490e4',
    500: '#5b65d7',
    950: '#000000',
  },
}
SCSS
$custom: #5b65d7;
$custom-light: #9490e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b65d7",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 215
  },
  "hsl": {
    "h": 235.161,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.55929,
    "c": 0.17263,
    "h": 275.5
  },
  "luminance": 0.16438
}

Semantic roles & 50–950 ramp

primary
#5B65D7
secondary
#DFDBAF
accent
#D744E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B65D7

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

Preview Lab → · Contrast checker → · Palette generator →

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