#5B62DA#5B62DA

#5B62DA is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.6% C 0.181 H 276.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5B62DA
RGBrgb(91, 98, 218)
HSLhsl(237, 63%, 61%)
HSVhsv(237, 58%, 85%)
CMYKcmyk(58.3%, 55%, 0%, 14.5%)
CIE-LABlab(47.00, 32.31, -62.57)
CIE-LCHlch(47.00, 70.42, 297.31°)
OKLaboklab(55.59% 0.0198 -0.1794)
OKLCHoklch(55.59% 0.181 276.3)
XYZxyz(21.3329, 16.0199, 68.2841)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B62DA #DAD35B
analogous
#5BA1DA #5B62DA #935BDA
triadic
#5B62DA #DA5B62 #62DA5B
tetradic
#5B62DA #DA5BA1 #DAD35B #5BDA93
square
#5B62DA #DA5BA1 #DAD35B #5BDA93
split-complementary
#5B62DA #DA935B #A1DA5B
monochromatic
#222998 #2E36CA #5B62DA #8D92E5 #BFC2F1

Accessibility & contrast

On white

5.00
#5B62DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5B62DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B62DA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B62DA#FFFFFF#000000##FFFFFF
##5B62DA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0375DE
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#007E94
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b62da;
/* rgb */ color: rgb(91, 98, 218);
/* oklch */ color: oklch(55.6% 0.181 276.3);
Tailwind
colors: {
  custom: {
    50: '#948ee6',
    500: '#5b62da',
    950: '#000000',
  },
}
SCSS
$custom: #5b62da;
$custom-light: #948ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b62da",
  "rgb": {
    "r": 91,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 236.693,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55588,
    "c": 0.18053,
    "h": 276.3
  },
  "luminance": 0.16021
}

Semantic roles & 50–950 ramp

primary
#5B62DA
secondary
#E1DEB0
accent
#C11BCB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B62DA

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

Preview Lab → · Contrast checker → · Palette generator →

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