#5A62CE#5A62CE

#5A62CE is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.7% C 0.164 H 276.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5A62CE
RGBrgb(90, 98, 206)
HSLhsl(236, 54%, 58%)
HSVhsv(236, 56%, 81%)
CMYKcmyk(56.3%, 52.4%, 0%, 19.2%)
CIE-LABlab(46.13, 28.21, -57.13)
CIE-LCHlch(46.13, 63.71, 296.28°)
OKLaboklab(54.66% 0.0181 -0.1635)
OKLCHoklch(54.66% 0.164 276.3)
XYZxyz(19.7211, 15.3639, 60.3069)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A62CE #CEC65A
analogous
#5A9CCE #5A62CE #8C5ACE
triadic
#5A62CE #CE5A62 #62CE5A
tetradic
#5A62CE #CE5A9C #CEC65A #5ACE8C
square
#5A62CE #CE5A9C #CEC65A #5ACE8C
split-complementary
#5A62CE #CE8C5A #9CCE5A
monochromatic
#282E86 #363FB5 #5A62CE #898FDC #B8BCEA

Accessibility & contrast

On white

5.16
#5A62CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5A62CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A62CE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A62CE#FFFFFF#000000##FFFFFF
##5A62CE1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2472D2
Deuteranopia (green-blind)
#0669CC
Tritanopia (blue-blind)
#177B8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a62ce;
/* rgb */ color: rgb(90, 98, 206);
/* oklch */ color: oklch(54.7% 0.164 276.3);
Tailwind
colors: {
  custom: {
    50: '#928ede',
    500: '#5a62ce',
    950: '#000000',
  },
}
SCSS
$custom: #5a62ce;
$custom-light: #928ede;
$custom-dark: #000000;
JSON
{
  "hex": "#5a62ce",
  "rgb": {
    "r": 90,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 235.862,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54662,
    "c": 0.16446,
    "h": 276.3
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#5A62CE
secondary
#D9D6AB
accent
#D34ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A62CE

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

Preview Lab → · Contrast checker → · Palette generator →

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