#5E66EB#5E66EB

#5E66EB is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.8% C 0.197 H 275.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5E66EB
RGBrgb(94, 102, 235)
HSLhsl(237, 78%, 65%)
HSVhsv(237, 60%, 92%)
CMYKcmyk(60%, 56.6%, 0%, 7.8%)
CIE-LABlab(49.35, 35.92, -68.36)
CIE-LCHlch(49.35, 77.22, 297.72°)
OKLaboklab(57.76% 0.0197 -0.1964)
OKLCHoklch(57.76% 0.197 275.7)
XYZxyz(24.3580, 17.8787, 80.7485)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E66EB #EBE35E
analogous
#5EACEB #5E66EB #9D5EEB
triadic
#5E66EB #EB5E66 #66EB5E
tetradic
#5E66EB #EB5EAC #EBE35E #5EEB9D
square
#5E66EB #EB5EAC #EBE35E #5EEB9D
split-complementary
#5E66EB #EB9D5E #ACEB5E
monochromatic
#1720B8 #2832E4 #5E66EB #949AF2 #CBCDF9

Accessibility & contrast

On white

4.59
#5E66EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5E66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5E66EB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E66EB#FFFFFF#000000##FFFFFF
##5E66EB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.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: #5e66eb;
/* rgb */ color: rgb(94, 102, 235);
/* oklch */ color: oklch(57.8% 0.197 275.7);
Tailwind
colors: {
  custom: {
    50: '#9891f2',
    500: '#5e66eb',
    950: '#000000',
  },
}
SCSS
$custom: #5e66eb;
$custom-light: #9891f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e66eb",
  "rgb": {
    "r": 94,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 236.596,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57762,
    "c": 0.19735,
    "h": 275.7
  },
  "luminance": 0.17881
}

Semantic roles & 50–950 ramp

primary
#5E66EB
secondary
#EBE8BA
accent
#CE0BDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #5E66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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