#5B62EC#5B62EC

#5B62EC is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 56.9% C 0.204 H 275.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5B62EC
RGBrgb(91, 98, 236)
HSLhsl(237, 79%, 64%)
HSVhsv(237, 61%, 93%)
CMYKcmyk(61.4%, 58.5%, 0%, 7.5%)
CIE-LABlab(48.28, 38.17, -70.67)
CIE-LCHlch(48.28, 80.32, 298.37°)
OKLaboklab(56.94% 0.0199 -0.2033)
OKLCHoklch(56.94% 0.204 275.6)
XYZxyz(23.8174, 17.0137, 81.3695)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B62EC #ECE55B
analogous
#5BABEC #5B62EC #9C5BEC
triadic
#5B62EC #EC5B62 #62EC5B
tetradic
#5B62EC #EC5BAB #ECE55B #5BEC9C
square
#5B62EC #EC5BAB #ECE55B #5BEC9C
split-complementary
#5B62EC #EC9C5B #ABEC5B
monochromatic
#151DB7 #242DE6 #5B62EC #9297F2 #C9CBF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B62EC#FFFFFF#000000##FFFFFF
##5B62EC1.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)
#0079F1
Deuteranopia (green-blind)
#006CE9
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b62ec;
/* rgb */ color: rgb(91, 98, 236);
/* oklch */ color: oklch(56.9% 0.204 275.6);
Tailwind
colors: {
  custom: {
    50: '#978ef3',
    500: '#5b62ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b62ec;
$custom-light: #978ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b62ec",
  "rgb": {
    "r": 91,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 237.103,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5694,
    "c": 0.20424,
    "h": 275.6
  },
  "luminance": 0.17016
}

Semantic roles & 50–950 ramp

primary
#5B62EC
secondary
#EBE8B8
accent
#D10ADC
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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