#5C7AEE#5C7AEE

#5C7AEE is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.6% C 0.177 H 269.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5C7AEE
RGBrgb(92, 122, 238)
HSLhsl(228, 81%, 65%)
HSVhsv(228, 61%, 93%)
CMYKcmyk(61.3%, 48.7%, 0%, 6.7%)
CIE-LABlab(54.41, 24.37, -61.87)
CIE-LCHlch(54.41, 66.49, 291.50°)
OKLaboklab(61.6% -0.001 -0.1771)
OKLCHoklch(61.6% 0.177 269.7)
XYZxyz(26.8006, 22.3651, 83.7769)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7AEE #EED05C
analogous
#5CC3EE #5C7AEE #875CEE
triadic
#5C7AEE #EE5C7A #7AEE5C
tetradic
#5C7AEE #EE5CC3 #EED05C #5CEE87
square
#5C7AEE #EE5CC3 #EED05C #5CEE87
split-complementary
#5C7AEE #EE875C #C3EE5C
monochromatic
#1436BC #254DE8 #5C7AEE #93A7F4 #CBD4FA

Accessibility & contrast

On white

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

On black

5.47
#5C7AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7AEE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7AEE#FFFFFF#000000##000000
##5C7AEE1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D89F2
Deuteranopia (green-blind)
#1C7CEC
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c7aee;
/* rgb */ color: rgb(92, 122, 238);
/* oklch */ color: oklch(61.6% 0.177 269.7);
Tailwind
colors: {
  custom: {
    50: '#97a0f4',
    500: '#5c7aee',
    950: '#000000',
  },
}
SCSS
$custom: #5c7aee;
$custom-light: #97a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7aee",
  "rgb": {
    "r": 92,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 227.671,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.616,
    "c": 0.17709,
    "h": 269.7
  },
  "luminance": 0.22367
}

Semantic roles & 50–950 ramp

primary
#5C7AEE
secondary
#ECE2BA
accent
#B208DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5C7AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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