#5B62F3#5B62F3

#5B62F3 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.5% C 0.213 H 275.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5B62F3
RGBrgb(91, 98, 243)
HSLhsl(237, 86%, 65%)
HSVhsv(237, 63%, 95%)
CMYKcmyk(62.6%, 59.7%, 0%, 4.7%)
CIE-LABlab(48.80, 40.45, -73.75)
CIE-LCHlch(48.80, 84.11, 298.74°)
OKLaboklab(57.49% 0.0198 -0.2123)
OKLCHoklch(57.49% 0.213 275.3)
XYZxyz(24.8544, 17.4285, 86.8309)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B62F3 #F3EC5B
analogous
#5BAEF3 #5B62F3 #A05BF3
triadic
#5B62F3 #F35B62 #62F35B
tetradic
#5B62F3 #F35BAE #F3EC5B #5BF3A0
square
#5B62F3 #F35BAE #F3EC5B #5BF3A0
split-complementary
#5B62F3 #F3A05B #AEF35B
monochromatic
#0E17C5 #222BEF #5B62F3 #9499F7 #CDCFFB

Accessibility & contrast

On white

4.68
#5B62F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5B62F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B62F3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B62F3#FFFFFF#000000##FFFFFF
##5B62F31.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#006DF0
Tritanopia (blue-blind)
#0086A1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5b62f3;
/* rgb */ color: rgb(91, 98, 243);
/* oklch */ color: oklch(57.5% 0.213 275.3);
Tailwind
colors: {
  custom: {
    50: '#988ff8',
    500: '#5b62f3',
    950: '#000000',
  },
}
SCSS
$custom: #5b62f3;
$custom-light: #988ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b62f3",
  "rgb": {
    "r": 91,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 237.237,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57485,
    "c": 0.21324,
    "h": 275.3
  },
  "luminance": 0.17431
}

Semantic roles & 50–950 ramp

primary
#5B62F3
secondary
#EEECBB
accent
#D903E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B62F3

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

Preview Lab → · Contrast checker → · Palette generator →

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