#5D66EB#5D66EB

#5D66EB is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.7% C 0.198 H 275.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5D66EB
RGBrgb(93, 102, 235)
HSLhsl(236, 78%, 64%)
HSVhsv(236, 60%, 92%)
CMYKcmyk(60.4%, 56.6%, 0%, 7.8%)
CIE-LABlab(49.28, 35.75, -68.47)
CIE-LCHlch(49.28, 77.24, 297.57°)
OKLaboklab(57.7% 0.0186 -0.1967)
OKLCHoklch(57.7% 0.198 275.4)
XYZxyz(24.2561, 17.8261, 80.7437)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D66EB #EBE25D
analogous
#5DADEB #5D66EB #9B5DEB
triadic
#5D66EB #EB5D66 #66EB5D
tetradic
#5D66EB #EB5DAD #EBE25D #5DEB9B
square
#5D66EB #EB5DAD #EBE25D #5DEB9B
split-complementary
#5D66EB #EB9B5D #ADEB5D
monochromatic
#1721B7 #2733E4 #5D66EB #9399F2 #CACDF8

Accessibility & contrast

On white

4.60
#5D66EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5D66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D66EB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D66EB#FFFFFF#000000##FFFFFF
##5D66EB1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d66eb;
/* rgb */ color: rgb(93, 102, 235);
/* oklch */ color: oklch(57.7% 0.198 275.4);
Tailwind
colors: {
  custom: {
    50: '#9891f2',
    500: '#5d66eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d66eb;
$custom-light: #9891f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d66eb",
  "rgb": {
    "r": 93,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 236.197,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57698,
    "c": 0.19758,
    "h": 275.4
  },
  "luminance": 0.17828
}

Semantic roles & 50–950 ramp

primary
#5D66EB
secondary
#EBE7B9
accent
#CD0BDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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