#5E66E4#5E66E4

#5E66E4 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 57.2% C 0.188 H 276.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5E66E4
RGBrgb(94, 102, 228)
HSLhsl(236, 71%, 63%)
HSVhsv(236, 59%, 89%)
CMYKcmyk(58.8%, 55.3%, 0%, 10.6%)
CIE-LABlab(48.86, 33.65, -65.21)
CIE-LCHlch(48.86, 73.38, 297.29°)
OKLaboklab(57.25% 0.0196 -0.1871)
OKLCHoklch(57.25% 0.188 276)
XYZxyz(23.3665, 17.4821, 75.5268)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E66E4 #E4DC5E
analogous
#5EA9E4 #5E66E4 #995EE4
triadic
#5E66E4 #E45E66 #66E45E
tetradic
#5E66E4 #E45EA9 #E4DC5E #5EE499
square
#5E66E4 #E45EA9 #E4DC5E #5EE499
split-complementary
#5E66E4 #E4995E #A9E45E
monochromatic
#1D25AB #2A34DB #5E66E4 #9298ED #C7CAF6

Accessibility & contrast

On white

4.67
#5E66E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#5E66E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5E66E4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E66E4#FFFFFF#000000##FFFFFF
##5E66E41.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e66e4;
/* rgb */ color: rgb(94, 102, 228);
/* oklch */ color: oklch(57.2% 0.188 276.0);
Tailwind
colors: {
  custom: {
    50: '#9791ed',
    500: '#5e66e4',
    950: '#000000',
  },
}
SCSS
$custom: #5e66e4;
$custom-light: #9791ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5e66e4",
  "rgb": {
    "r": 94,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 236.418,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57246,
    "c": 0.18812,
    "h": 276
  },
  "luminance": 0.17484
}

Semantic roles & 50–950 ramp

primary
#5E66E4
secondary
#E7E4B7
accent
#C812D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5E66E4

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

Preview Lab → · Contrast checker → · Palette generator →

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