#5A62EA#5A62EA

#5A62EA is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 56.7% C 0.202 H 275.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5A62EA
RGBrgb(90, 98, 234)
HSLhsl(237, 77%, 64%)
HSVhsv(237, 62%, 92%)
CMYKcmyk(61.5%, 58.1%, 0%, 8.2%)
CIE-LABlab(48.07, 37.36, -69.89)
CIE-LCHlch(48.07, 79.25, 298.12°)
OKLaboklab(56.72% 0.0188 -0.201)
OKLCHoklch(56.72% 0.202 275.4)
XYZxyz(23.4306, 16.8476, 79.8431)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A62EA #EAE25A
analogous
#5AAAEA #5A62EA #9A5AEA
triadic
#5A62EA #EA5A62 #62EA5A
tetradic
#5A62EA #EA5AAA #EAE25A #5AEA9A
square
#5A62EA #EA5AAA #EAE25A #5AEA9A
split-complementary
#5A62EA #EA9A5A #AAEA5A
monochromatic
#171FB3 #242EE3 #5A62EA #9096F1 #C7C9F8

Accessibility & contrast

On white

4.81
#5A62EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5A62EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A62EA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A62EA#FFFFFF#000000##FFFFFF
##5A62EA1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#006CE7
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5a62ea;
/* rgb */ color: rgb(90, 98, 234);
/* oklch */ color: oklch(56.7% 0.202 275.4);
Tailwind
colors: {
  custom: {
    50: '#968ef2',
    500: '#5a62ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a62ea;
$custom-light: #968ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a62ea",
  "rgb": {
    "r": 90,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 236.667,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56722,
    "c": 0.20188,
    "h": 275.4
  },
  "luminance": 0.1685
}

Semantic roles & 50–950 ramp

primary
#5A62EA
secondary
#E9E7B6
accent
#CE0CDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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