#5A62EE#5A62EE

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

Color values

HEX#5A62EE
RGBrgb(90, 98, 238)
HSLhsl(237, 81%, 64%)
HSVhsv(237, 62%, 93%)
CMYKcmyk(62.2%, 58.8%, 0%, 6.7%)
CIE-LABlab(48.36, 38.66, -71.66)
CIE-LCHlch(48.36, 81.43, 298.35°)
OKLaboklab(57.03% 0.0188 -0.2062)
OKLCHoklch(57.03% 0.207 275.2)
XYZxyz(24.0117, 17.0801, 82.9038)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A62EE #EEE65A
analogous
#5AACEE #5A62EE #9C5AEE
triadic
#5A62EE #EE5A62 #62EE5A
tetradic
#5A62EE #EE5AAC #EEE65A #5AEE9C
square
#5A62EE #EE5AAC #EEE65A #5AEE9C
split-complementary
#5A62EE #EE9C5A #ACEE5A
monochromatic
#131CBA #232DE8 #5A62EE #9197F4 #C9CCF9

Accessibility & contrast

On white

4.76
#5A62EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5A62EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A62EE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A62EE#FFFFFF#000000##FFFFFF
##5A62EE1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#006CEB
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a62ee;
/* rgb */ color: rgb(90, 98, 238);
/* oklch */ color: oklch(57.0% 0.207 275.2);
Tailwind
colors: {
  custom: {
    50: '#978ef4',
    500: '#5a62ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a62ee;
$custom-light: #978ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a62ee",
  "rgb": {
    "r": 90,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 236.757,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57031,
    "c": 0.20705,
    "h": 275.2
  },
  "luminance": 0.17082
}

Semantic roles & 50–950 ramp

primary
#5A62EE
secondary
#ECE9B8
accent
#D208DE
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A62EE

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

Preview Lab → · Contrast checker → · Palette generator →

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