#5B66D2#5B66D2

#5B66D2 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.8% C 0.164 H 275.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5B66D2
RGBrgb(91, 102, 210)
HSLhsl(234, 57%, 59%)
HSVhsv(234, 57%, 82%)
CMYKcmyk(56.7%, 51.4%, 0%, 17.6%)
CIE-LABlab(47.47, 27.23, -57.26)
CIE-LCHlch(47.47, 63.41, 295.44°)
OKLaboklab(55.77% 0.0153 -0.1638)
OKLCHoklch(55.77% 0.164 275.3)
XYZxyz(20.6949, 16.3785, 63.0311)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66D2 #D2C75B
analogous
#5BA2D2 #5B66D2 #8C5BD2
triadic
#5B66D2 #D25B66 #66D25B
tetradic
#5B66D2 #D25BA2 #D2C75B #5BD28C
square
#5B66D2 #D25BA2 #D2C75B #5BD28C
split-complementary
#5B66D2 #D28C5B #A2D25B
monochromatic
#26308C #3440BC #5B66D2 #8B93DF #BBC0EC

Accessibility & contrast

On white

4.91
#5B66D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5B66D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66D2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66D2#FFFFFF#000000##FFFFFF
##5B66D21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B76D6
Deuteranopia (green-blind)
#126CD0
Tritanopia (blue-blind)
#127F92
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b66d2;
/* rgb */ color: rgb(91, 102, 210);
/* oklch */ color: oklch(55.8% 0.164 275.3);
Tailwind
colors: {
  custom: {
    50: '#9391e0',
    500: '#5b66d2',
    950: '#000000',
  },
}
SCSS
$custom: #5b66d2;
$custom-light: #9391e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66d2",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 234.454,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55768,
    "c": 0.16449,
    "h": 275.3
  },
  "luminance": 0.1638
}

Semantic roles & 50–950 ramp

primary
#5B66D2
secondary
#DCD7AD
accent
#D248E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B66D2

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

Preview Lab → · Contrast checker → · Palette generator →

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