#5C7AED#5C7AED

#5C7AED is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.5% C 0.176 H 269.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5C7AED
RGBrgb(92, 122, 237)
HSLhsl(228, 80%, 65%)
HSVhsv(228, 61%, 93%)
CMYKcmyk(61.2%, 48.5%, 0%, 7.1%)
CIE-LABlab(54.35, 24.04, -61.41)
CIE-LCHlch(54.35, 65.95, 291.38°)
OKLaboklab(61.53% -0.0011 -0.1757)
OKLCHoklch(61.53% 0.176 269.6)
XYZxyz(26.6541, 22.3065, 83.0053)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7AED #EDCF5C
analogous
#5CC3ED #5C7AED #875CED
triadic
#5C7AED #ED5C7A #7AED5C
tetradic
#5C7AED #ED5CC3 #EDCF5C #5CED87
square
#5C7AED #ED5CC3 #EDCF5C #5CED87
split-complementary
#5C7AED #ED875C #C3ED5C
monochromatic
#1537BA #254DE7 #5C7AED #93A7F3 #CAD4F9

Accessibility & contrast

On white

3.84
#5C7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5C7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7AED
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7AED#FFFFFF#000000##000000
##5C7AED1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E89F1
Deuteranopia (green-blind)
#1F7CEB
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c7aed;
/* rgb */ color: rgb(92, 122, 237);
/* oklch */ color: oklch(61.5% 0.176 269.6);
Tailwind
colors: {
  custom: {
    50: '#97a0f3',
    500: '#5c7aed',
    950: '#000000',
  },
}
SCSS
$custom: #5c7aed;
$custom-light: #97a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7aed",
  "rgb": {
    "r": 92,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 227.586,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61533,
    "c": 0.17574,
    "h": 269.6
  },
  "luminance": 0.22309
}

Semantic roles & 50–950 ramp

primary
#5C7AED
secondary
#EBE1B9
accent
#B109DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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