#5E62EA#5E62EA

#5E62EA is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.0% C 0.201 H 276.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5E62EA
RGBrgb(94, 98, 234)
HSLhsl(238, 77%, 64%)
HSVhsv(238, 60%, 92%)
CMYKcmyk(59.8%, 58.1%, 0%, 8.2%)
CIE-LABlab(48.33, 38.01, -69.46)
CIE-LCHlch(48.33, 79.18, 298.69°)
OKLaboklab(56.98% 0.0233 -0.1996)
OKLCHoklch(56.98% 0.201 276.7)
XYZxyz(23.8303, 17.0537, 79.8619)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E62EA #EAE65E
analogous
#5EA8EA #5E62EA #A05EEA
triadic
#5E62EA #EA5E62 #62EA5E
tetradic
#5E62EA #EA5EA8 #EAE65E #5EEAA0
square
#5E62EA #EA5EA8 #EAE65E #5EEAA0
split-complementary
#5E62EA #EAA05E #A8EA5E
monochromatic
#181CB6 #282DE3 #5E62EA #9497F1 #CACCF8

Accessibility & contrast

On white

4.76
#5E62EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5E62EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E62EA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E62EA#FFFFFF#000000##FFFFFF
##5E62EA1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e62ea;
/* rgb */ color: rgb(94, 98, 234);
/* oklch */ color: oklch(57.0% 0.201 276.7);
Tailwind
colors: {
  custom: {
    50: '#988ef2',
    500: '#5e62ea',
    950: '#000000',
  },
}
SCSS
$custom: #5e62ea;
$custom-light: #988ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e62ea",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 238.286,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56982,
    "c": 0.20098,
    "h": 276.7
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#5E62EA
secondary
#EAE9BA
accent
#D30CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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