#5B65DE#5B65DE

#5B65DE is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.4% C 0.182 H 275.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5B65DE
RGBrgb(91, 101, 222)
HSLhsl(235, 66%, 61%)
HSVhsv(235, 59%, 87%)
CMYKcmyk(59%, 54.5%, 0%, 12.9%)
CIE-LABlab(48.01, 31.77, -63.20)
CIE-LCHlch(48.01, 70.74, 296.69°)
OKLaboklab(56.43% 0.017 -0.1813)
OKLCHoklch(56.43% 0.182 275.4)
XYZxyz(22.1486, 16.8037, 71.1694)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B65DE #DED45B
analogous
#5BA7DE #5B65DE #935BDE
triadic
#5B65DE #DE5B65 #65DE5B
tetradic
#5B65DE #DE5BA7 #DED45B #5BDE93
square
#5B65DE #DE5BA7 #DED45B #5BDE93
split-complementary
#5B65DE #DE935B #A7DE5B
monochromatic
#202A9F #2A37D2 #5B65DE #8E95E8 #C1C5F3

Accessibility & contrast

On white

4.82
#5B65DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5B65DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B65DE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B65DE#FFFFFF#000000##FFFFFF
##5B65DE1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B78E2
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b65de;
/* rgb */ color: rgb(91, 101, 222);
/* oklch */ color: oklch(56.4% 0.182 275.4);
Tailwind
colors: {
  custom: {
    50: '#9590e9',
    500: '#5b65de',
    950: '#000000',
  },
}
SCSS
$custom: #5b65de;
$custom-light: #9590e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b65de",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 222
  },
  "hsl": {
    "h": 235.42,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5643,
    "c": 0.18208,
    "h": 275.4
  },
  "luminance": 0.16805
}

Semantic roles & 50–950 ramp

primary
#5B65DE
secondary
#E3DFB2
accent
#C017CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B65DE

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

Preview Lab → · Contrast checker → · Palette generator →

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