#5B62E9#5B62E9

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

Color values

HEX#5B62E9
RGBrgb(91, 98, 233)
HSLhsl(237, 76%, 64%)
HSVhsv(237, 61%, 91%)
CMYKcmyk(60.9%, 57.9%, 0%, 8.6%)
CIE-LABlab(48.06, 37.19, -69.34)
CIE-LCHlch(48.06, 78.68, 298.21°)
OKLaboklab(56.71% 0.02 -0.1993)
OKLCHoklch(56.71% 0.2 275.7)
XYZxyz(23.3853, 16.8408, 79.0933)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B62E9 #E9E25B
analogous
#5BA9E9 #5B62E9 #9B5BE9
triadic
#5B62E9 #E95B62 #62E95B
tetradic
#5B62E9 #E95BA9 #E9E25B #5BE99B
square
#5B62E9 #E95BA9 #E9E25B #5BE99B
split-complementary
#5B62E9 #E99B5B #A9E95B
monochromatic
#181FB2 #252EE2 #5B62E9 #9196F0 #C7C9F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B62E9#FFFFFF#000000##FFFFFF
##5B62E91.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)
#0078EE
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#00839C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b62e9;
/* rgb */ color: rgb(91, 98, 233);
/* oklch */ color: oklch(56.7% 0.200 275.7);
Tailwind
colors: {
  custom: {
    50: '#978ef1',
    500: '#5b62e9',
    950: '#000000',
  },
}
SCSS
$custom: #5b62e9;
$custom-light: #978ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b62e9",
  "rgb": {
    "r": 91,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 237.042,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.20035,
    "h": 275.7
  },
  "luminance": 0.16843
}

Semantic roles & 50–950 ramp

primary
#5B62E9
secondary
#E9E7B7
accent
#CF0DD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B62E9

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

Preview Lab → · Contrast checker → · Palette generator →

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