#5C62E8#5C62E8

#5C62E8 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.7% C 0.199 H 276.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5C62E8
RGBrgb(92, 98, 232)
HSLhsl(237, 75%, 64%)
HSVhsv(237, 60%, 91%)
CMYKcmyk(60.3%, 57.8%, 0%, 9%)
CIE-LABlab(48.05, 37.03, -68.79)
CIE-LCHlch(48.05, 78.12, 298.30°)
OKLaboklab(56.7% 0.0211 -0.1977)
OKLCHoklch(56.7% 0.199 276.1)
XYZxyz(23.3421, 16.8351, 78.3477)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C62E8 #E8E25C
analogous
#5CA8E8 #5C62E8 #9C5CE8
triadic
#5C62E8 #E85C62 #62E85C
tetradic
#5C62E8 #E85CA8 #E8E25C #5CE89C
square
#5C62E8 #E85CA8 #E8E25C #5CE89C
split-complementary
#5C62E8 #E89C5C #A8E85C
monochromatic
#191FB1 #262EE0 #5C62E8 #9296F0 #C7C9F7

Accessibility & contrast

On white

4.81
#5C62E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5C62E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C62E8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C62E8#FFFFFF#000000##FFFFFF
##5C62E81.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5c62e8;
/* rgb */ color: rgb(92, 98, 232);
/* oklch */ color: oklch(56.7% 0.199 276.1);
Tailwind
colors: {
  custom: {
    50: '#978ef0',
    500: '#5c62e8',
    950: '#000000',
  },
}
SCSS
$custom: #5c62e8;
$custom-light: #978ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c62e8",
  "rgb": {
    "r": 92,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 237.429,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56698,
    "c": 0.19882,
    "h": 276.1
  },
  "luminance": 0.16837
}

Semantic roles & 50–950 ramp

primary
#5C62E8
secondary
#E9E7B7
accent
#CF0ED7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C62E8

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

Preview Lab → · Contrast checker → · Palette generator →

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