#5B66CC#5B66CC

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

Color values

HEX#5B66CC
RGBrgb(91, 102, 204)
HSLhsl(234, 53%, 58%)
HSVhsv(234, 55%, 80%)
CMYKcmyk(55.4%, 50%, 0%, 20%)
CIE-LABlab(47.09, 25.28, -54.44)
CIE-LCHlch(47.09, 60.02, 294.91°)
OKLaboklab(55.36% 0.0148 -0.1555)
OKLCHoklch(55.36% 0.156 275.4)
XYZxyz(19.9613, 16.0851, 59.1679)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66CC #CCC15B
analogous
#5B9FCC #5B66CC #885BCC
triadic
#5B66CC #CC5B66 #66CC5B
tetradic
#5B66CC #CC5B9F #CCC15B #5BCC88
square
#5B66CC #CC5B9F #CCC15B #5BCC88
split-complementary
#5B66CC #CC885B #9FCC5B
monochromatic
#293284 #3743B2 #5B66CC #8A92DB #B8BDE9

Accessibility & contrast

On white

4.98
#5B66CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5B66CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66CC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66CC#FFFFFF#000000##FFFFFF
##5B66CC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3275D0
Deuteranopia (green-blind)
#216BCA
Tritanopia (blue-blind)
#1E7D8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b66cc;
/* rgb */ color: rgb(91, 102, 204);
/* oklch */ color: oklch(55.4% 0.156 275.4);
Tailwind
colors: {
  custom: {
    50: '#9291dc',
    500: '#5b66cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b66cc;
$custom-light: #9291dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66cc",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 234.159,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55359,
    "c": 0.15618,
    "h": 275.4
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#5B66CC
secondary
#D8D4AB
accent
#CE4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B66CC

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

Preview Lab → · Contrast checker → · Palette generator →

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