#5C62E4#5C62E4

#5C62E4 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.4% C 0.194 H 276.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5C62E4
RGBrgb(92, 98, 228)
HSLhsl(237, 72%, 63%)
HSVhsv(237, 60%, 89%)
CMYKcmyk(59.6%, 57%, 0%, 10.6%)
CIE-LABlab(47.77, 35.73, -66.99)
CIE-LCHlch(47.77, 75.93, 298.07°)
OKLaboklab(56.4% 0.0211 -0.1924)
OKLCHoklch(56.4% 0.194 276.2)
XYZxyz(22.7804, 16.6104, 75.3894)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C62E4 #E4DE5C
analogous
#5CA6E4 #5C62E4 #9A5CE4
triadic
#5C62E4 #E45C62 #62E45C
tetradic
#5C62E4 #E45CA6 #E4DE5C #5CE49A
square
#5C62E4 #E45CA6 #E4DE5C #5CE49A
split-complementary
#5C62E4 #E49A5C #A6E45C
monochromatic
#1C22AA #272FDB #5C62E4 #9195ED #C5C7F5

Accessibility & contrast

On white

4.86
#5C62E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5C62E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C62E4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C62E4#FFFFFF#000000##FFFFFF
##5C62E41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5c62e4;
/* rgb */ color: rgb(92, 98, 228);
/* oklch */ color: oklch(56.4% 0.194 276.2);
Tailwind
colors: {
  custom: {
    50: '#968eed',
    500: '#5c62e4',
    950: '#000000',
  },
}
SCSS
$custom: #5c62e4;
$custom-light: #968eed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c62e4",
  "rgb": {
    "r": 92,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 237.353,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56396,
    "c": 0.19358,
    "h": 276.2
  },
  "luminance": 0.16612
}

Semantic roles & 50–950 ramp

primary
#5C62E4
secondary
#E7E4B5
accent
#CB12D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5C62E4

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

Preview Lab → · Contrast checker → · Palette generator →

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