#5B66CD#5B66CD

#5B66CD is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.4% C 0.158 H 275.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5B66CD
RGBrgb(91, 102, 205)
HSLhsl(234, 53%, 58%)
HSVhsv(234, 56%, 80%)
CMYKcmyk(55.6%, 50.2%, 0%, 19.6%)
CIE-LABlab(47.15, 25.61, -54.91)
CIE-LCHlch(47.15, 60.59, 295.00°)
OKLaboklab(55.43% 0.0149 -0.1569)
OKLCHoklch(55.43% 0.158 275.4)
XYZxyz(20.0817, 16.1333, 59.8016)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66CD #CDC25B
analogous
#5B9FCD #5B66CD #895BCD
triadic
#5B66CD #CD5B66 #66CD5B
tetradic
#5B66CD #CD5B9F #CDC25B #5BCD89
square
#5B66CD #CD5B9F #CDC25B #5BCD89
split-complementary
#5B66CD #CD895B #9FCD5B
monochromatic
#293185 #3743B4 #5B66CD #8A92DB #B9BEEA

Accessibility & contrast

On white

4.97
#5B66CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5B66CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66CD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66CD#FFFFFF#000000##FFFFFF
##5B66CD1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#1F6BCB
Tritanopia (blue-blind)
#1D7D90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b66cd;
/* rgb */ color: rgb(91, 102, 205);
/* oklch */ color: oklch(55.4% 0.158 275.4);
Tailwind
colors: {
  custom: {
    50: '#9291dd',
    500: '#5b66cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b66cd;
$custom-light: #9291dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66cd",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 234.211,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55427,
    "c": 0.15758,
    "h": 275.4
  },
  "luminance": 0.16135
}

Semantic roles & 50–950 ramp

primary
#5B66CD
secondary
#D9D4AB
accent
#CF4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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