#5B66EA#5B66EA

#5B66EA is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.5% C 0.197 H 274.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5B66EA
RGBrgb(91, 102, 234)
HSLhsl(235, 77%, 64%)
HSVhsv(235, 61%, 92%)
CMYKcmyk(61.1%, 56.4%, 0%, 8.2%)
CIE-LABlab(49.09, 35.09, -68.23)
CIE-LCHlch(49.09, 76.73, 297.22°)
OKLaboklab(57.5% 0.0164 -0.1961)
OKLCHoklch(57.5% 0.197 274.8)
XYZxyz(23.9122, 17.6655, 79.9756)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66EA #EADF5B
analogous
#5BADEA #5B66EA #975BEA
triadic
#5B66EA #EA5B66 #66EA5B
tetradic
#5B66EA #EA5BAD #EADF5B #5BEA97
square
#5B66EA #EA5BAD #EADF5B #5BEA97
split-complementary
#5B66EA #EA975B #ADEA5B
monochromatic
#1723B4 #2533E3 #5B66EA #9199F1 #C8CBF8

Accessibility & contrast

On white

4.63
#5B66EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5B66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66EA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66EA#FFFFFF#000000##FFFFFF
##5B66EA1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#00869E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b66ea;
/* rgb */ color: rgb(91, 102, 234);
/* oklch */ color: oklch(57.5% 0.197 274.8);
Tailwind
colors: {
  custom: {
    50: '#9791f2',
    500: '#5b66ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b66ea;
$custom-light: #9791f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66ea",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 235.385,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57496,
    "c": 0.19674,
    "h": 274.8
  },
  "luminance": 0.17667
}

Semantic roles & 50–950 ramp

primary
#5B66EA
secondary
#EAE6B7
accent
#CA0CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5B66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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