#5B66CE#5B66CE

#5B66CE is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.5% C 0.159 H 275.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5B66CE
RGBrgb(91, 102, 206)
HSLhsl(234, 54%, 58%)
HSVhsv(234, 56%, 81%)
CMYKcmyk(55.8%, 50.5%, 0%, 19.2%)
CIE-LABlab(47.21, 25.93, -55.38)
CIE-LCHlch(47.21, 61.15, 295.09°)
OKLaboklab(55.49% 0.015 -0.1582)
OKLCHoklch(55.49% 0.159 275.4)
XYZxyz(20.2027, 16.1817, 60.4393)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66CE #CEC35B
analogous
#5B9FCE #5B66CE #895BCE
triadic
#5B66CE #CE5B66 #66CE5B
tetradic
#5B66CE #CE5B9F #CEC35B #5BCE89
square
#5B66CE #CE5B9F #CEC35B #5BCE89
split-complementary
#5B66CE #CE895B #9FCE5B
monochromatic
#283186 #3642B6 #5B66CE #8A92DC #B9BEEA

Accessibility & contrast

On white

4.96
#5B66CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5B66CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66CE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66CE#FFFFFF#000000##FFFFFF
##5B66CE1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3075D2
Deuteranopia (green-blind)
#1D6BCC
Tritanopia (blue-blind)
#1B7D90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b66ce;
/* rgb */ color: rgb(91, 102, 206);
/* oklch */ color: oklch(55.5% 0.159 275.4);
Tailwind
colors: {
  custom: {
    50: '#9291de',
    500: '#5b66ce',
    950: '#000000',
  },
}
SCSS
$custom: #5b66ce;
$custom-light: #9291de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66ce",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 234.261,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55494,
    "c": 0.15896,
    "h": 275.4
  },
  "luminance": 0.16183
}

Semantic roles & 50–950 ramp

primary
#5B66CE
secondary
#D9D5AB
accent
#CF4ADD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B66CE

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

Preview Lab → · Contrast checker → · Palette generator →

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