#5B66DD#5B66DD

#5B66DD is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.5% C 0.179 H 275.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5B66DD
RGBrgb(91, 102, 221)
HSLhsl(235, 66%, 61%)
HSVhsv(235, 59%, 87%)
CMYKcmyk(58.8%, 53.8%, 0%, 13.3%)
CIE-LABlab(48.19, 30.83, -62.35)
CIE-LCHlch(48.19, 69.55, 296.31°)
OKLaboklab(56.54% 0.016 -0.1787)
OKLCHoklch(56.54% 0.179 275.1)
XYZxyz(22.1127, 16.9457, 70.4982)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66DD #DDD25B
analogous
#5BA7DD #5B66DD #915BDD
triadic
#5B66DD #DD5B66 #66DD5B
tetradic
#5B66DD #DD5BA7 #DDD25B #5BDD91
square
#5B66DD #DD5BA7 #DDD25B #5BDD91
split-complementary
#5B66DD #DD915B #A7DD5B
monochromatic
#212B9D #2B39D0 #5B66DD #8E95E8 #C0C5F2

Accessibility & contrast

On white

4.78
#5B66DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5B66DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66DD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66DD#FFFFFF#000000##FFFFFF
##5B66DD1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1578E1
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b66dd;
/* rgb */ color: rgb(91, 102, 221);
/* oklch */ color: oklch(56.5% 0.179 275.1);
Tailwind
colors: {
  custom: {
    50: '#9591e8',
    500: '#5b66dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b66dd;
$custom-light: #9591e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66dd",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 234.923,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.17946,
    "h": 275.1
  },
  "luminance": 0.16947
}

Semantic roles & 50–950 ramp

primary
#5B66DD
secondary
#E2DEB1
accent
#BE18CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B66DD

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

Preview Lab → · Contrast checker → · Palette generator →

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