#5C62E7#5C62E7

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

Color values

HEX#5C62E7
RGBrgb(92, 98, 231)
HSLhsl(237, 74%, 63%)
HSVhsv(237, 60%, 91%)
CMYKcmyk(60.2%, 57.6%, 0%, 9.4%)
CIE-LABlab(47.98, 36.71, -68.34)
CIE-LCHlch(47.98, 77.57, 298.24°)
OKLaboklab(56.62% 0.0211 -0.1964)
OKLCHoklch(56.62% 0.198 276.1)
XYZxyz(23.2004, 16.7784, 77.6018)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C62E7 #E7E15C
analogous
#5CA7E7 #5C62E7 #9B5CE7
triadic
#5C62E7 #E75C62 #62E75C
tetradic
#5C62E7 #E75CA7 #E7E15C #5CE79B
square
#5C62E7 #E75CA7 #E7E15C #5CE79B
split-complementary
#5C62E7 #E79B5C #A7E75C
monochromatic
#1A20AF #272FDF #5C62E7 #9195EF #C7C9F7

Accessibility & contrast

On white

4.82
#5C62E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5C62E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C62E7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C62E7#FFFFFF#000000##FFFFFF
##5C62E71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5c62e7;
/* rgb */ color: rgb(92, 98, 231);
/* oklch */ color: oklch(56.6% 0.198 276.1);
Tailwind
colors: {
  custom: {
    50: '#978eef',
    500: '#5c62e7',
    950: '#000000',
  },
}
SCSS
$custom: #5c62e7;
$custom-light: #978eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5c62e7",
  "rgb": {
    "r": 92,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 237.41,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56622,
    "c": 0.19752,
    "h": 276.1
  },
  "luminance": 0.1678
}

Semantic roles & 50–950 ramp

primary
#5C62E7
secondary
#E8E6B7
accent
#CE0FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5C62E7

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

Preview Lab → · Contrast checker → · Palette generator →

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