#5B62E7#5B62E7

#5B62E7 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.6% C 0.198 H 275.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5B62E7
RGBrgb(91, 98, 231)
HSLhsl(237, 74%, 63%)
HSVhsv(237, 61%, 91%)
CMYKcmyk(60.6%, 57.6%, 0%, 9.4%)
CIE-LABlab(47.91, 36.54, -68.45)
CIE-LCHlch(47.91, 77.59, 298.10°)
OKLaboklab(56.56% 0.02 -0.1967)
OKLCHoklch(56.56% 0.198 275.8)
XYZxyz(23.1012, 16.7272, 77.5971)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B62E7 #E7E05B
analogous
#5BA8E7 #5B62E7 #9A5BE7
triadic
#5B62E7 #E75B62 #62E75B
tetradic
#5B62E7 #E75BA8 #E7E05B #5BE79A
square
#5B62E7 #E75BA8 #E7E05B #5BE79A
split-complementary
#5B62E7 #E79A5B #A8E75B
monochromatic
#1921AE #262FDF #5B62E7 #9095EF #C6C8F7

Accessibility & contrast

On white

4.83
#5B62E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5B62E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B62E7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B62E7#FFFFFF#000000##FFFFFF
##5B62E71.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b62e7;
/* rgb */ color: rgb(91, 98, 231);
/* oklch */ color: oklch(56.6% 0.198 275.8);
Tailwind
colors: {
  custom: {
    50: '#968eef',
    500: '#5b62e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b62e7;
$custom-light: #968eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b62e7",
  "rgb": {
    "r": 91,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 237,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56557,
    "c": 0.19774,
    "h": 275.8
  },
  "luminance": 0.16729
}

Semantic roles & 50–950 ramp

primary
#5B62E7
secondary
#E8E5B6
accent
#CD0FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5B62E7

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

Preview Lab → · Contrast checker → · Palette generator →

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