#5C62EB#5C62EB

#5C62EB is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 56.9% C 0.203 H 276.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5C62EB
RGBrgb(92, 98, 235)
HSLhsl(237, 78%, 64%)
HSVhsv(237, 61%, 92%)
CMYKcmyk(60.9%, 58.3%, 0%, 7.8%)
CIE-LABlab(48.27, 38.00, -70.12)
CIE-LCHlch(48.27, 79.76, 298.46°)
OKLaboklab(56.93% 0.0211 -0.2016)
OKLCHoklch(56.93% 0.203 276)
XYZxyz(23.7718, 17.0070, 80.6111)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C62EB #EBE55C
analogous
#5CA9EB #5C62EB #9E5CEB
triadic
#5C62EB #EB5C62 #62EB5C
tetradic
#5C62EB #EB5CA9 #EBE55C #5CEB9E
square
#5C62EB #EB5CA9 #EBE55C #5CEB9E
split-complementary
#5C62EB #EB9E5C #A9EB5C
monochromatic
#161DB6 #252DE4 #5C62EB #9397F2 #C9CBF8

Accessibility & contrast

On white

4.77
#5C62EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5C62EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C62EB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C62EB#FFFFFF#000000##FFFFFF
##5C62EB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c62eb;
/* rgb */ color: rgb(92, 98, 235);
/* oklch */ color: oklch(56.9% 0.203 276.0);
Tailwind
colors: {
  custom: {
    50: '#988ef2',
    500: '#5c62eb',
    950: '#000000',
  },
}
SCSS
$custom: #5c62eb;
$custom-light: #988ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c62eb",
  "rgb": {
    "r": 92,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 237.483,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56928,
    "c": 0.20272,
    "h": 276
  },
  "luminance": 0.17009
}

Semantic roles & 50–950 ramp

primary
#5C62EB
secondary
#EAE8B8
accent
#D20BDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C62EB

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

Preview Lab → · Contrast checker → · Palette generator →

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