#5C7AE4#5C7AE4

#5C7AE4 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.9% C 0.164 H 269.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5C7AE4
RGBrgb(92, 122, 228)
HSLhsl(227, 72%, 63%)
HSVhsv(227, 60%, 89%)
CMYKcmyk(59.6%, 46.5%, 0%, 10.6%)
CIE-LABlab(53.81, 21.05, -57.25)
CIE-LCHlch(53.81, 61.00, 290.18°)
OKLaboklab(60.95% -0.0022 -0.1635)
OKLCHoklch(60.95% 0.164 269.2)
XYZxyz(25.3720, 21.7937, 76.2533)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7AE4 #E4C65C
analogous
#5CBEE4 #5C7AE4 #825CE4
triadic
#5C7AE4 #E45C7A #7AE45C
tetradic
#5C7AE4 #E45CBE #E4C65C #5CE482
square
#5C7AE4 #E45CBE #E4C65C #5CE482
split-complementary
#5C7AE4 #E4825C #BEE45C
monochromatic
#1C3BAA #274FDB #5C7AE4 #91A5ED #C5D0F5

Accessibility & contrast

On white

3.92
#5C7AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5C7AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7AE4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7AE4#FFFFFF#000000##000000
##5C7AE41.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4787E8
Deuteranopia (green-blind)
#307BE2
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c7ae4;
/* rgb */ color: rgb(92, 122, 228);
/* oklch */ color: oklch(60.9% 0.164 269.2);
Tailwind
colors: {
  custom: {
    50: '#95a0ed',
    500: '#5c7ae4',
    950: '#000000',
  },
}
SCSS
$custom: #5c7ae4;
$custom-light: #95a0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7ae4",
  "rgb": {
    "r": 92,
    "g": 122,
    "b": 228
  },
  "hsl": {
    "h": 226.765,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60945,
    "c": 0.16353,
    "h": 269.2
  },
  "luminance": 0.21796
}

Semantic roles & 50–950 ramp

primary
#5C7AE4
secondary
#E7DCB5
accent
#A912D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5C7AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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