#5D66EC#5D66EC

#5D66EC is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.8% C 0.199 H 275.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5D66EC
RGBrgb(93, 102, 236)
HSLhsl(236, 79%, 65%)
HSVhsv(236, 61%, 93%)
CMYKcmyk(60.6%, 56.8%, 0%, 7.5%)
CIE-LABlab(49.36, 36.08, -68.92)
CIE-LCHlch(49.36, 77.79, 297.63°)
OKLaboklab(57.77% 0.0186 -0.198)
OKLCHoklch(57.77% 0.199 275.4)
XYZxyz(24.4010, 17.8841, 81.5067)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D66EC #ECE35D
analogous
#5DADEC #5D66EC #9C5DEC
triadic
#5D66EC #EC5D66 #66EC5D
tetradic
#5D66EC #EC5DAD #ECE35D #5DEC9C
square
#5D66EC #EC5DAD #ECE35D #5DEC9C
split-complementary
#5D66EC #EC9C5D #ADEC5D
monochromatic
#1620B9 #2632E6 #5D66EC #949AF2 #CBCDF9

Accessibility & contrast

On white

4.59
#5D66EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5D66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D66EC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D66EC#FFFFFF#000000##FFFFFF
##5D66EC1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d66ec;
/* rgb */ color: rgb(93, 102, 236);
/* oklch */ color: oklch(57.8% 0.199 275.4);
Tailwind
colors: {
  custom: {
    50: '#9891f3',
    500: '#5d66ec',
    950: '#000000',
  },
}
SCSS
$custom: #5d66ec;
$custom-light: #9891f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d66ec",
  "rgb": {
    "r": 93,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 236.224,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57773,
    "c": 0.19889,
    "h": 275.4
  },
  "luminance": 0.17886
}

Semantic roles & 50–950 ramp

primary
#5D66EC
secondary
#EBE8BA
accent
#CE0ADB
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #5D66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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