#5B65DD#5B65DD

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

Color values

HEX#5B65DD
RGBrgb(91, 101, 221)
HSLhsl(235, 66%, 61%)
HSVhsv(235, 59%, 87%)
CMYKcmyk(58.8%, 54.3%, 0%, 13.3%)
CIE-LABlab(47.94, 31.44, -62.75)
CIE-LCHlch(47.94, 70.19, 296.62°)
OKLaboklab(56.36% 0.017 -0.1799)
OKLCHoklch(56.36% 0.181 275.4)
XYZxyz(22.0150, 16.7503, 70.4656)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B65DD #DDD35B
analogous
#5BA6DD #5B65DD #925BDD
triadic
#5B65DD #DD5B65 #65DD5B
tetradic
#5B65DD #DD5BA6 #DDD35B #5BDD92
square
#5B65DD #DD5BA6 #DDD35B #5BDD92
split-complementary
#5B65DD #DD925B #A6DD5B
monochromatic
#212A9D #2B38D0 #5B65DD #8E95E8 #C0C4F2

Accessibility & contrast

On white

4.83
#5B65DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5B65DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B65DD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B65DD#FFFFFF#000000##FFFFFF
##5B65DD1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F77E1
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b65dd;
/* rgb */ color: rgb(91, 101, 221);
/* oklch */ color: oklch(56.4% 0.181 275.4);
Tailwind
colors: {
  custom: {
    50: '#9590e8',
    500: '#5b65dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b65dd;
$custom-light: #9590e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b65dd",
  "rgb": {
    "r": 91,
    "g": 101,
    "b": 221
  },
  "hsl": {
    "h": 235.385,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56358,
    "c": 0.18074,
    "h": 275.4
  },
  "luminance": 0.16752
}

Semantic roles & 50–950 ramp

primary
#5B65DD
secondary
#E2DFB1
accent
#C018CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B65DD

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

Preview Lab → · Contrast checker → · Palette generator →

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