#5C62EF#5C62EF

#5C62EF is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.2% C 0.208 H 275.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5C62EF
RGBrgb(92, 98, 239)
HSLhsl(238, 82%, 65%)
HSVhsv(238, 62%, 94%)
CMYKcmyk(61.5%, 59%, 0%, 6.3%)
CIE-LABlab(48.56, 39.30, -71.89)
CIE-LCHlch(48.56, 81.93, 298.67°)
OKLaboklab(57.24% 0.021 -0.2068)
OKLCHoklch(57.24% 0.208 275.8)
XYZxyz(24.3562, 17.2407, 83.6889)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C62EF #EFE95C
analogous
#5CACEF #5C62EF #A05CEF
triadic
#5C62EF #EF5C62 #62EF5C
tetradic
#5C62EF #EF5CAC #EFE95C #5CEFA0
square
#5C62EF #EF5CAC #EFE95C #5CEFA0
split-complementary
#5C62EF #EFA05C #ACEF5C
monochromatic
#131ABE #242CEA #5C62EF #9498F4 #CBCDFA

Accessibility & contrast

On white

4.72
#5C62EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5C62EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C62EF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C62EF#FFFFFF#000000##FFFFFF
##5C62EF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#00859F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c62ef;
/* rgb */ color: rgb(92, 98, 239);
/* oklch */ color: oklch(57.2% 0.208 275.8);
Tailwind
colors: {
  custom: {
    50: '#988ff5',
    500: '#5c62ef',
    950: '#000000',
  },
}
SCSS
$custom: #5c62ef;
$custom-light: #988ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c62ef",
  "rgb": {
    "r": 92,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 237.551,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57236,
    "c": 0.20788,
    "h": 275.8
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#5C62EF
secondary
#ECEABA
accent
#D607DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C62EF

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

Preview Lab → · Contrast checker → · Palette generator →

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