#5B66DE#5B66DE

#5B66DE is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.6% C 0.181 H 275.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5B66DE
RGBrgb(91, 102, 222)
HSLhsl(235, 66%, 61%)
HSVhsv(235, 59%, 87%)
CMYKcmyk(59%, 54.1%, 0%, 12.9%)
CIE-LABlab(48.26, 31.16, -62.81)
CIE-LCHlch(48.26, 70.11, 296.39°)
OKLaboklab(56.62% 0.016 -0.1801)
OKLCHoklch(56.62% 0.181 275.1)
XYZxyz(22.2463, 16.9991, 71.2019)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66DE #DED35B
analogous
#5BA8DE #5B66DE #925BDE
triadic
#5B66DE #DE5B66 #66DE5B
tetradic
#5B66DE #DE5BA8 #DED35B #5BDE92
square
#5B66DE #DE5BA8 #DED35B #5BDE92
split-complementary
#5B66DE #DE925B #A8DE5B
monochromatic
#202B9F #2A38D2 #5B66DE #8E96E8 #C1C5F3

Accessibility & contrast

On white

4.77
#5B66DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5B66DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66DE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66DE#FFFFFF#000000##FFFFFF
##5B66DE1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1278E2
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b66de;
/* rgb */ color: rgb(91, 102, 222);
/* oklch */ color: oklch(56.6% 0.181 275.1);
Tailwind
colors: {
  custom: {
    50: '#9591e9',
    500: '#5b66de',
    950: '#000000',
  },
}
SCSS
$custom: #5b66de;
$custom-light: #9591e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66de",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 222
  },
  "hsl": {
    "h": 234.962,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56615,
    "c": 0.1808,
    "h": 275.1
  },
  "luminance": 0.17001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B66DE

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

Preview Lab → · Contrast checker → · Palette generator →

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