#5C6CEF#5C6CEF

#5C6CEF is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.0% C 0.196 H 273.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5C6CEF
RGBrgb(92, 108, 239)
HSLhsl(233, 82%, 65%)
HSVhsv(233, 62%, 94%)
CMYKcmyk(61.5%, 54.8%, 0%, 6.3%)
CIE-LABlab(50.96, 33.25, -68.00)
CIE-LCHlch(50.96, 75.70, 296.06°)
OKLaboklab(59.02% 0.0122 -0.1953)
OKLCHoklch(59.02% 0.196 273.6)
XYZxyz(25.3510, 19.2303, 84.0205)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6CEF #EFDF5C
analogous
#5CB6EF #5C6CEF #955CEF
triadic
#5C6CEF #EF5C6C #6CEF5C
tetradic
#5C6CEF #EF5CB6 #EFDF5C #5CEF95
square
#5C6CEF #EF5CB6 #EFDF5C #5CEF95
split-complementary
#5C6CEF #EF955C #B6EF5C
monochromatic
#1325BE #243AEA #5C6CEF #949EF4 #CBD1FA

Accessibility & contrast

On white

4.33
#5C6CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5C6CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C6CEF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6CEF#FFFFFF#000000##000000
##5C6CEF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F3
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#008BA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c6cef;
/* rgb */ color: rgb(92, 108, 239);
/* oklch */ color: oklch(59.0% 0.196 273.6);
Tailwind
colors: {
  custom: {
    50: '#9896f5',
    500: '#5c6cef',
    950: '#000000',
  },
}
SCSS
$custom: #5c6cef;
$custom-light: #9896f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6cef",
  "rgb": {
    "r": 92,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 233.469,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59016,
    "c": 0.19568,
    "h": 273.6
  },
  "luminance": 0.19232
}

Semantic roles & 50–950 ramp

primary
#5C6CEF
secondary
#ECE7BA
accent
#C707DF
background
#FAF9FF
surface
#F3F1FE
border
#CDCBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5C6CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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