#5C62F2#5C62F2

#5C62F2 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.5% C 0.212 H 275.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5C62F2
RGBrgb(92, 98, 242)
HSLhsl(238, 85%, 65%)
HSVhsv(238, 62%, 95%)
CMYKcmyk(62%, 59.5%, 0%, 5.1%)
CIE-LABlab(48.78, 40.27, -73.21)
CIE-LCHlch(48.78, 83.55, 298.82°)
OKLaboklab(57.47% 0.0209 -0.2107)
OKLCHoklch(57.47% 0.212 275.7)
XYZxyz(24.8031, 17.4195, 86.0424)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C62F2 #F2EC5C
analogous
#5CADF2 #5C62F2 #A15CF2
triadic
#5C62F2 #F25C62 #62F25C
tetradic
#5C62F2 #F25CAD #F2EC5C #5CF2A1
square
#5C62F2 #F25CAD #F2EC5C #5CF2A1
split-complementary
#5C62F2 #F2A15C #ADF25C
monochromatic
#1017C4 #232BED #5C62F2 #9599F7 #CDCFFB

Accessibility & contrast

On white

4.68
#5C62F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5C62F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C62F2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C62F2#FFFFFF#000000##FFFFFF
##5C62F21.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#0085A1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5c62f2;
/* rgb */ color: rgb(92, 98, 242);
/* oklch */ color: oklch(57.5% 0.212 275.7);
Tailwind
colors: {
  custom: {
    50: '#998ff7',
    500: '#5c62f2',
    950: '#000000',
  },
}
SCSS
$custom: #5c62f2;
$custom-light: #998ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c62f2",
  "rgb": {
    "r": 92,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 237.6,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.5747,
    "c": 0.21174,
    "h": 275.7
  },
  "luminance": 0.17421
}

Semantic roles & 50–950 ramp

primary
#5C62F2
secondary
#EEECBC
accent
#D904E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C62F2

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

Preview Lab → · Contrast checker → · Palette generator →

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