#5B66EC#5B66EC

#5B66EC is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.6% C 0.199 H 274.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5B66EC
RGBrgb(91, 102, 236)
HSLhsl(235, 79%, 64%)
HSVhsv(235, 61%, 93%)
CMYKcmyk(61.4%, 56.8%, 0%, 7.5%)
CIE-LABlab(49.23, 35.75, -69.13)
CIE-LCHlch(49.23, 77.82, 297.35°)
OKLaboklab(57.65% 0.0164 -0.1987)
OKLCHoklch(57.65% 0.199 274.7)
XYZxyz(24.2011, 17.7810, 81.4974)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B66EC #ECE15B
analogous
#5BAFEC #5B66EC #995BEC
triadic
#5B66EC #EC5B66 #66EC5B
tetradic
#5B66EC #EC5BAF #ECE15B #5BEC99
square
#5B66EC #EC5BAF #ECE15B #5BEC99
split-complementary
#5B66EC #EC995B #AFEC5B
monochromatic
#1522B7 #2433E6 #5B66EC #9299F2 #C9CCF9

Accessibility & contrast

On white

4.61
#5B66EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5B66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B66EC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B66EC#FFFFFF#000000##FFFFFF
##5B66EC1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b66ec;
/* rgb */ color: rgb(91, 102, 236);
/* oklch */ color: oklch(57.6% 0.199 274.7);
Tailwind
colors: {
  custom: {
    50: '#9791f3',
    500: '#5b66ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b66ec;
$custom-light: #9791f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b66ec",
  "rgb": {
    "r": 91,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 235.448,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57646,
    "c": 0.19937,
    "h": 274.7
  },
  "luminance": 0.17783
}

Semantic roles & 50–950 ramp

primary
#5B66EC
secondary
#EBE7B8
accent
#CC0ADC
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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