#5B62EA#5B62EA

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

Color values

HEX#5B62EA
RGBrgb(91, 98, 234)
HSLhsl(237, 77%, 64%)
HSVhsv(237, 61%, 92%)
CMYKcmyk(61.1%, 58.1%, 0%, 8.2%)
CIE-LABlab(48.13, 37.52, -69.78)
CIE-LCHlch(48.13, 79.23, 298.26°)
OKLaboklab(56.79% 0.0199 -0.2007)
OKLCHoklch(56.79% 0.202 275.7)
XYZxyz(23.5285, 16.8981, 79.8477)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B62EA #EAE35B
analogous
#5BA9EA #5B62EA #9B5BEA
triadic
#5B62EA #EA5B62 #62EA5B
tetradic
#5B62EA #EA5BA9 #EAE35B #5BEA9B
square
#5B62EA #EA5BA9 #EAE35B #5BEA9B
split-complementary
#5B62EA #EA9B5B #A9EA5B
monochromatic
#171FB4 #252EE3 #5B62EA #9196F1 #C8CAF8

Accessibility & contrast

On white

4.79
#5B62EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5B62EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B62EA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B62EA#FFFFFF#000000##FFFFFF
##5B62EA1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b62ea;
/* rgb */ color: rgb(91, 98, 234);
/* oklch */ color: oklch(56.8% 0.202 275.7);
Tailwind
colors: {
  custom: {
    50: '#978ef2',
    500: '#5b62ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b62ea;
$custom-light: #978ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b62ea",
  "rgb": {
    "r": 91,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 237.063,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56786,
    "c": 0.20165,
    "h": 275.7
  },
  "luminance": 0.169
}

Semantic roles & 50–950 ramp

primary
#5B62EA
secondary
#EAE7B7
accent
#CF0CDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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