#5C62EC#5C62EC

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

Color values

HEX#5C62EC
RGBrgb(92, 98, 236)
HSLhsl(238, 79%, 64%)
HSVhsv(238, 61%, 93%)
CMYKcmyk(61%, 58.5%, 0%, 7.5%)
CIE-LABlab(48.34, 38.33, -70.56)
CIE-LCHlch(48.34, 80.30, 298.51°)
OKLaboklab(57% 0.021 -0.2029)
OKLCHoklch(57% 0.204 275.9)
XYZxyz(23.9167, 17.0649, 81.3741)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C62EC #ECE65C
analogous
#5CAAEC #5C62EC #9E5CEC
triadic
#5C62EC #EC5C62 #62EC5C
tetradic
#5C62EC #EC5CAA #ECE65C #5CEC9E
square
#5C62EC #EC5CAA #ECE65C #5CEC9E
split-complementary
#5C62EC #EC9E5C #AAEC5C
monochromatic
#151CB8 #252DE6 #5C62EC #9397F2 #CACCF9

Accessibility & contrast

On white

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

On black

4.41
#5C62EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5C62EC#FFFFFF#000000##FFFFFF
##5C62EC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c62ec;
/* rgb */ color: rgb(92, 98, 236);
/* oklch */ color: oklch(57.0% 0.204 275.9);
Tailwind
colors: {
  custom: {
    50: '#988ef3',
    500: '#5c62ec',
    950: '#000000',
  },
}
SCSS
$custom: #5c62ec;
$custom-light: #988ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c62ec",
  "rgb": {
    "r": 92,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 237.5,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57004,
    "c": 0.20402,
    "h": 275.9
  },
  "luminance": 0.17067
}

Semantic roles & 50–950 ramp

primary
#5C62EC
secondary
#EBE9B9
accent
#D30ADB
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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