#5C7AEC#5C7AEC

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

Color values

HEX#5C7AEC
RGBrgb(92, 122, 236)
HSLhsl(228, 79%, 64%)
HSVhsv(228, 61%, 93%)
CMYKcmyk(61%, 48.3%, 0%, 7.5%)
CIE-LABlab(54.29, 23.70, -60.95)
CIE-LCHlch(54.29, 65.40, 291.25°)
OKLaboklab(61.47% -0.0012 -0.1744)
OKLCHoklch(61.47% 0.174 269.6)
XYZxyz(26.5084, 22.2483, 82.2380)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7AEC #ECCE5C
analogous
#5CC2EC #5C7AEC #865CEC
triadic
#5C7AEC #EC5C7A #7AEC5C
tetradic
#5C7AEC #EC5CC2 #ECCE5C #5CEC86
square
#5C7AEC #EC5CC2 #ECCE5C #5CEC86
split-complementary
#5C7AEC #EC865C #C2EC5C
monochromatic
#1537B8 #254DE6 #5C7AEC #93A7F2 #CAD3F9

Accessibility & contrast

On white

3.85
#5C7AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5C7AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7AEC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7AEC#FFFFFF#000000##000000
##5C7AEC1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F0
Deuteranopia (green-blind)
#217CEA
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c7aec;
/* rgb */ color: rgb(92, 122, 236);
/* oklch */ color: oklch(61.5% 0.174 269.6);
Tailwind
colors: {
  custom: {
    50: '#96a0f3',
    500: '#5c7aec',
    950: '#000000',
  },
}
SCSS
$custom: #5c7aec;
$custom-light: #96a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7aec",
  "rgb": {
    "r": 92,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 227.5,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61467,
    "c": 0.17439,
    "h": 269.6
  },
  "luminance": 0.22251
}

Semantic roles & 50–950 ramp

primary
#5C7AEC
secondary
#EBE0B9
accent
#B00ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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