#5B66DC#5B66DC

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

Color values

HEX#5B66DC
RGBrgb(91, 102, 220)
HSLhsl(235, 65%, 61%)
HSVhsv(235, 59%, 86%)
CMYKcmyk(58.6%, 53.6%, 0%, 13.7%)
CIE-LABlab(48.12, 30.50, -61.89)
CIE-LCHlch(48.12, 69.00, 296.24°)
OKLaboklab(56.47% 0.0159 -0.1774)
OKLCHoklch(56.47% 0.178 275.1)
XYZxyz(21.9798, 16.8925, 69.7986)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66DC #DCD15B
analogous
#5BA6DC #5B66DC #905BDC
triadic
#5B66DC #DC5B66 #66DC5B
tetradic
#5B66DC #DC5BA6 #DCD15B #5BDC90
square
#5B66DC #DC5BA6 #DCD15B #5BDC90
split-complementary
#5B66DC #DC905B #A6DC5B
monochromatic
#212C9B #2C3ACE #5B66DC #8D95E7 #C0C4F2

Accessibility & contrast

On white

4.80
#5B66DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5B66DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66DC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66DC#FFFFFF#000000##FFFFFF
##5B66DC1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1878E0
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b66dc;
/* rgb */ color: rgb(91, 102, 220);
/* oklch */ color: oklch(56.5% 0.178 275.1);
Tailwind
colors: {
  custom: {
    50: '#9491e8',
    500: '#5b66dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b66dc;
$custom-light: #9491e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66dc",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 234.884,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.17811,
    "h": 275.1
  },
  "luminance": 0.16894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B66DC

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

Preview Lab → · Contrast checker → · Palette generator →

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