#5A62ED#5A62ED

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

Color values

HEX#5A62ED
RGBrgb(90, 98, 237)
HSLhsl(237, 80%, 64%)
HSVhsv(237, 62%, 93%)
CMYKcmyk(62%, 58.6%, 0%, 7.1%)
CIE-LABlab(48.29, 38.34, -71.22)
CIE-LCHlch(48.29, 80.88, 298.29°)
OKLaboklab(56.95% 0.0188 -0.2049)
OKLCHoklch(56.95% 0.206 275.2)
XYZxyz(23.8652, 17.0215, 82.1322)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A62ED #EDE55A
analogous
#5AACED #5A62ED #9C5AED
triadic
#5A62ED #ED5A62 #62ED5A
tetradic
#5A62ED #ED5AAC #EDE55A #5AED9C
square
#5A62ED #ED5AAC #EDE55A #5AED9C
split-complementary
#5A62ED #ED9C5A #ACED5A
monochromatic
#141DB8 #232DE7 #5A62ED #9197F3 #C8CBF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A62ED#FFFFFF#000000##FFFFFF
##5A62ED1.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)
#0079F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a62ed;
/* rgb */ color: rgb(90, 98, 237);
/* oklch */ color: oklch(57.0% 0.206 275.2);
Tailwind
colors: {
  custom: {
    50: '#978ef4',
    500: '#5a62ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a62ed;
$custom-light: #978ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a62ed",
  "rgb": {
    "r": 90,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 236.735,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56954,
    "c": 0.20577,
    "h": 275.2
  },
  "luminance": 0.17023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A62ED

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

Preview Lab → · Contrast checker → · Palette generator →

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