#5D66E9#5D66E9

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

Color values

HEX#5D66E9
RGBrgb(93, 102, 233)
HSLhsl(236, 76%, 64%)
HSVhsv(236, 60%, 91%)
CMYKcmyk(60.1%, 56.2%, 0%, 8.6%)
CIE-LABlab(49.14, 35.10, -67.57)
CIE-LCHlch(49.14, 76.15, 297.45°)
OKLaboklab(57.55% 0.0186 -0.1941)
OKLCHoklch(57.55% 0.195 275.5)
XYZxyz(23.9688, 17.7112, 79.2305)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D66E9 #E9E05D
analogous
#5DACE9 #5D66E9 #9A5DE9
triadic
#5D66E9 #E95D66 #66E95D
tetradic
#5D66E9 #E95DAC #E9E05D #5DE99A
square
#5D66E9 #E95DAC #E9E05D #5DE99A
split-complementary
#5D66E9 #E99A5D #ACE95D
monochromatic
#1822B3 #2733E2 #5D66E9 #9399F0 #C9CCF8

Accessibility & contrast

On white

4.62
#5D66E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5D66E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D66E9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D66E9#FFFFFF#000000##FFFFFF
##5D66E91.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#006FE6
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5d66e9;
/* rgb */ color: rgb(93, 102, 233);
/* oklch */ color: oklch(57.5% 0.195 275.5);
Tailwind
colors: {
  custom: {
    50: '#9791f1',
    500: '#5d66e9',
    950: '#000000',
  },
}
SCSS
$custom: #5d66e9;
$custom-light: #9791f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d66e9",
  "rgb": {
    "r": 93,
    "g": 102,
    "b": 233
  },
  "hsl": {
    "h": 236.143,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57549,
    "c": 0.19495,
    "h": 275.5
  },
  "luminance": 0.17713
}

Semantic roles & 50–950 ramp

primary
#5D66E9
secondary
#E9E6B8
accent
#CB0DD8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D66E9

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

Preview Lab → · Contrast checker → · Palette generator →

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