#5C5ADF#5C5ADF

#5C5ADF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.6% C 0.197 H 278.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5C5ADF
RGBrgb(92, 90, 223)
HSLhsl(241, 68%, 61%)
HSVhsv(241, 60%, 87%)
CMYKcmyk(58.7%, 59.6%, 0%, 12.5%)
CIE-LABlab(45.52, 38.95, -67.82)
CIE-LCHlch(45.52, 78.21, 299.87°)
OKLaboklab(54.62% 0.0285 -0.1949)
OKLCHoklch(54.62% 0.197 278.3)
XYZxyz(21.3848, 14.9138, 71.5495)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5ADF #DDDF5A
analogous
#5A9BDF #5C5ADF #9F5ADF
triadic
#5C5ADF #DF5C5A #5ADF5C
tetradic
#5C5ADF #DF5A9B #DDDF5A #5ADF9F
square
#5C5ADF #DF5A9B #DDDF5A #5ADF9F
split-complementary
#5C5ADF #DF9F5A #9BDF5A
monochromatic
#211FA0 #2B29D3 #5C5ADF #8F8DE9 #C1C1F3

Accessibility & contrast

On white

5.27
#5C5ADF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5C5ADF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5ADF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5ADF#FFFFFF#000000##FFFFFF
##5C5ADF1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c5adf;
/* rgb */ color: rgb(92, 90, 223);
/* oklch */ color: oklch(54.6% 0.197 278.3);
Tailwind
colors: {
  custom: {
    50: '#9689ea',
    500: '#5c5adf',
    950: '#000000',
  },
}
SCSS
$custom: #5c5adf;
$custom-light: #9689ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5adf",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 223
  },
  "hsl": {
    "h": 240.902,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.19698,
    "h": 278.3
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#5C5ADF
secondary
#E3E3B2
accent
#CF16CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5C5ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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