#5E62E9#5E62E9

#5E62E9 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.9% C 0.200 H 276.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5E62E9
RGBrgb(94, 98, 233)
HSLhsl(238, 76%, 64%)
HSVhsv(238, 60%, 91%)
CMYKcmyk(59.7%, 57.9%, 0%, 8.6%)
CIE-LABlab(48.26, 37.69, -69.01)
CIE-LCHlch(48.26, 78.63, 298.64°)
OKLaboklab(56.91% 0.0233 -0.1983)
OKLCHoklch(56.91% 0.2 276.7)
XYZxyz(23.6870, 16.9964, 79.1074)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E62E9 #E9E55E
analogous
#5EA8E9 #5E62E9 #A05EE9
triadic
#5E62E9 #E95E62 #62E95E
tetradic
#5E62E9 #E95EA8 #E9E55E #5EE9A0
square
#5E62E9 #E95EA8 #E9E55E #5EE9A0
split-complementary
#5E62E9 #E9A05E #A8E95E
monochromatic
#191DB4 #282DE2 #5E62E9 #9497F0 #CACBF8

Accessibility & contrast

On white

4.77
#5E62E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5E62E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E62E9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E62E9#FFFFFF#000000##FFFFFF
##5E62E91.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#006DE6
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e62e9;
/* rgb */ color: rgb(94, 98, 233);
/* oklch */ color: oklch(56.9% 0.200 276.7);
Tailwind
colors: {
  custom: {
    50: '#988ef1',
    500: '#5e62e9',
    950: '#000000',
  },
}
SCSS
$custom: #5e62e9;
$custom-light: #988ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e62e9",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 238.273,
    "s": 75.956,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56906,
    "c": 0.19968,
    "h": 276.7
  },
  "luminance": 0.16998
}

Semantic roles & 50–950 ramp

primary
#5E62E9
secondary
#EAE8B9
accent
#D20DD8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E62E9

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

Preview Lab → · Contrast checker → · Palette generator →

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