#5A62E9#5A62E9

#5A62E9 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.6% C 0.201 H 275.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5A62E9
RGBrgb(90, 98, 233)
HSLhsl(237, 76%, 63%)
HSVhsv(237, 61%, 91%)
CMYKcmyk(61.4%, 57.9%, 0%, 8.6%)
CIE-LABlab(47.99, 37.03, -69.45)
CIE-LCHlch(47.99, 78.70, 298.07°)
OKLaboklab(56.65% 0.0188 -0.1997)
OKLCHoklch(56.65% 0.201 275.4)
XYZxyz(23.2873, 16.7903, 79.0887)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A62E9 #E9E15A
analogous
#5AAAE9 #5A62E9 #995AE9
triadic
#5A62E9 #E95A62 #62E95A
tetradic
#5A62E9 #E95AAA #E9E15A #5AE999
square
#5A62E9 #E95AAA #E9E15A #5AE999
split-complementary
#5A62E9 #E9995A #AAE95A
monochromatic
#1820B1 #242FE2 #5A62E9 #9095F0 #C6C9F7

Accessibility & contrast

On white

4.82
#5A62E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5A62E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A62E9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A62E9#FFFFFF#000000##FFFFFF
##5A62E91.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5a62e9;
/* rgb */ color: rgb(90, 98, 233);
/* oklch */ color: oklch(56.6% 0.201 275.4);
Tailwind
colors: {
  custom: {
    50: '#968ef1',
    500: '#5a62e9',
    950: '#000000',
  },
}
SCSS
$custom: #5a62e9;
$custom-light: #968ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a62e9",
  "rgb": {
    "r": 90,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 236.643,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.20058,
    "h": 275.4
  },
  "luminance": 0.16792
}

Semantic roles & 50–950 ramp

primary
#5A62E9
secondary
#E9E6B6
accent
#CD0DD9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5A62E9

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

Preview Lab → · Contrast checker → · Palette generator →

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