#5D66E3#5D66E3

#5D66E3 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.1% C 0.187 H 275.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5D66E3
RGBrgb(93, 102, 227)
HSLhsl(236, 71%, 63%)
HSVhsv(236, 59%, 89%)
CMYKcmyk(59%, 55.1%, 0%, 11%)
CIE-LABlab(48.73, 33.15, -64.87)
CIE-LCHlch(48.73, 72.84, 297.07°)
OKLaboklab(57.11% 0.0184 -0.1861)
OKLCHoklch(57.11% 0.187 275.7)
XYZxyz(23.1262, 17.3742, 74.7930)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D66E3 #E3DA5D
analogous
#5DA9E3 #5D66E3 #975DE3
triadic
#5D66E3 #E35D66 #66E35D
tetradic
#5D66E3 #E35DA9 #E3DA5D #5DE397
square
#5D66E3 #E35DA9 #E3DA5D #5DE397
split-complementary
#5D66E3 #E3975D #A9E35D
monochromatic
#1D26A8 #2935DA #5D66E3 #9197EC #C5C9F5

Accessibility & contrast

On white

4.69
#5D66E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5D66E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D66E3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D66E3#FFFFFF#000000##FFFFFF
##5D66E31.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AE7
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d66e3;
/* rgb */ color: rgb(93, 102, 227);
/* oklch */ color: oklch(57.1% 0.187 275.7);
Tailwind
colors: {
  custom: {
    50: '#9791ed',
    500: '#5d66e3',
    950: '#000000',
  },
}
SCSS
$custom: #5d66e3;
$custom-light: #9791ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d66e3",
  "rgb": {
    "r": 93,
    "g": 102,
    "b": 227
  },
  "hsl": {
    "h": 235.97,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57107,
    "c": 0.18702,
    "h": 275.7
  },
  "luminance": 0.17376
}

Semantic roles & 50–950 ramp

primary
#5D66E3
secondary
#E6E3B6
accent
#C613D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D66E3

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

Preview Lab → · Contrast checker → · Palette generator →

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