#5D66E2#5D66E2

#5D66E2 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.0% C 0.186 H 275.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5D66E2
RGBrgb(93, 102, 226)
HSLhsl(236, 70%, 63%)
HSVhsv(236, 59%, 89%)
CMYKcmyk(58.8%, 54.9%, 0%, 11.4%)
CIE-LABlab(48.66, 32.82, -64.41)
CIE-LCHlch(48.66, 72.29, 297.00°)
OKLaboklab(57.04% 0.0184 -0.1848)
OKLCHoklch(57.04% 0.186 275.7)
XYZxyz(22.9886, 17.3191, 74.0683)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D66E2 #E2D95D
analogous
#5DA8E2 #5D66E2 #975DE2
triadic
#5D66E2 #E25D66 #66E25D
tetradic
#5D66E2 #E25DA8 #E2D95D #5DE297
square
#5D66E2 #E25DA8 #E2D95D #5DE297
split-complementary
#5D66E2 #E2975D #A8E25D
monochromatic
#1E27A7 #2935D9 #5D66E2 #9197EB #C5C8F5

Accessibility & contrast

On white

4.70
#5D66E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5D66E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D66E2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D66E2#FFFFFF#000000##FFFFFF
##5D66E21.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0279E6
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#00839A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d66e2;
/* rgb */ color: rgb(93, 102, 226);
/* oklch */ color: oklch(57.0% 0.186 275.7);
Tailwind
colors: {
  custom: {
    50: '#9691ec',
    500: '#5d66e2',
    950: '#000000',
  },
}
SCSS
$custom: #5d66e2;
$custom-light: #9691ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d66e2",
  "rgb": {
    "r": 93,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 235.94,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57035,
    "c": 0.18569,
    "h": 275.7
  },
  "luminance": 0.17321
}

Semantic roles & 50–950 ramp

primary
#5D66E2
secondary
#E6E2B5
accent
#C514D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D66E2

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

Preview Lab → · Contrast checker → · Palette generator →

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