#5B66CF#5B66CF

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

Color values

HEX#5B66CF
RGBrgb(91, 102, 207)
HSLhsl(234, 55%, 58%)
HSVhsv(234, 56%, 81%)
CMYKcmyk(56%, 50.7%, 0%, 18.8%)
CIE-LABlab(47.28, 26.26, -55.85)
CIE-LCHlch(47.28, 61.72, 295.18°)
OKLaboklab(55.56% 0.0151 -0.1596)
OKLCHoklch(55.56% 0.16 275.4)
XYZxyz(20.3246, 16.2305, 61.0812)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66CF #CFC45B
analogous
#5BA0CF #5B66CF #8A5BCF
triadic
#5B66CF #CF5B66 #66CF5B
tetradic
#5B66CF #CF5BA0 #CFC45B #5BCF8A
square
#5B66CF #CF5BA0 #CFC45B #5BCF8A
split-complementary
#5B66CF #CF8A5B #A0CF5B
monochromatic
#283188 #3642B7 #5B66CF #8A92DD #BABEEB

Accessibility & contrast

On white

4.95
#5B66CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5B66CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66CF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66CF#FFFFFF#000000##FFFFFF
##5B66CF1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D3
Deuteranopia (green-blind)
#1A6BCD
Tritanopia (blue-blind)
#197E91
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b66cf;
/* rgb */ color: rgb(91, 102, 207);
/* oklch */ color: oklch(55.6% 0.160 275.4);
Tailwind
colors: {
  custom: {
    50: '#9291de',
    500: '#5b66cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b66cf;
$custom-light: #9291de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66cf",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 234.31,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55563,
    "c": 0.16035,
    "h": 275.4
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#5B66CF
secondary
#DAD6AC
accent
#D04ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B66CF

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

Preview Lab → · Contrast checker → · Palette generator →

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