#5C62CF#5C62CF

#5C62CF is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.9% C 0.165 H 277.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5C62CF
RGBrgb(92, 98, 207)
HSLhsl(237, 55%, 59%)
HSVhsv(237, 56%, 81%)
CMYKcmyk(55.6%, 52.7%, 0%, 18.8%)
CIE-LABlab(46.33, 28.93, -57.37)
CIE-LCHlch(46.33, 64.25, 296.76°)
OKLaboklab(54.87% 0.0204 -0.1641)
OKLCHoklch(54.87% 0.165 277.1)
XYZxyz(20.0402, 15.5143, 60.9579)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C62CF #CFC95C
analogous
#5C9BCF #5C62CF #8F5CCF
triadic
#5C62CF #CF5C62 #62CF5C
tetradic
#5C62CF #CF5C9B #CFC95C #5CCF8F
square
#5C62CF #CF5C9B #CFC95C #5CCF8F
split-complementary
#5C62CF #CF8F5C #9BCF5C
monochromatic
#282D88 #363DB8 #5C62CF #8B90DD #BBBDEB

Accessibility & contrast

On white

5.12
#5C62CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5C62CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C62CF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C62CF#FFFFFF#000000##FFFFFF
##5C62CF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#0769CD
Tritanopia (blue-blind)
#1F7B8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c62cf;
/* rgb */ color: rgb(92, 98, 207);
/* oklch */ color: oklch(54.9% 0.165 277.1);
Tailwind
colors: {
  custom: {
    50: '#938ede',
    500: '#5c62cf',
    950: '#000000',
  },
}
SCSS
$custom: #5c62cf;
$custom-light: #938ede;
$custom-dark: #000000;
JSON
{
  "hex": "#5c62cf",
  "rgb": {
    "r": 92,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 236.87,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5487,
    "c": 0.16538,
    "h": 277.1
  },
  "luminance": 0.15516
}

Semantic roles & 50–950 ramp

primary
#5C62CF
secondary
#DAD8AD
accent
#D64ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5C62CF

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

Preview Lab → · Contrast checker → · Palette generator →

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