#5C6FEC#5C6FEC

#5C6FEC is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.4% C 0.188 H 272.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5C6FEC
RGBrgb(92, 111, 236)
HSLhsl(232, 79%, 64%)
HSVhsv(232, 61%, 93%)
CMYKcmyk(61%, 53%, 0%, 7.5%)
CIE-LABlab(51.49, 30.43, -65.45)
CIE-LCHlch(51.49, 72.18, 294.93°)
OKLaboklab(59.36% 0.0093 -0.1878)
OKLCHoklch(59.36% 0.188 272.8)
XYZxyz(25.2334, 19.6982, 81.8130)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6FEC #ECD95C
analogous
#5CB7EC #5C6FEC #915CEC
triadic
#5C6FEC #EC5C6F #6FEC5C
tetradic
#5C6FEC #EC5CB7 #ECD95C #5CEC91
square
#5C6FEC #EC5CB7 #ECD95C #5CEC91
split-complementary
#5C6FEC #EC915C #B7EC5C
monochromatic
#152BB8 #253FE6 #5C6FEC #939FF2 #CAD0F9

Accessibility & contrast

On white

4.25
#5C6FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5C6FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C6FEC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6FEC#FFFFFF#000000##000000
##5C6FEC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81F0
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#008CA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c6fec;
/* rgb */ color: rgb(92, 111, 236);
/* oklch */ color: oklch(59.4% 0.188 272.8);
Tailwind
colors: {
  custom: {
    50: '#9798f3',
    500: '#5c6fec',
    950: '#000000',
  },
}
SCSS
$custom: #5c6fec;
$custom-light: #9798f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6fec",
  "rgb": {
    "r": 92,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 232.083,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59355,
    "c": 0.188,
    "h": 272.8
  },
  "luminance": 0.197
}

Semantic roles & 50–950 ramp

primary
#5C6FEC
secondary
#EBE4B9
accent
#C00ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5C6FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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