#5C7EEA#5C7EEA

#5C7EEA is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.1% C 0.167 H 268.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5C7EEA
RGBrgb(92, 126, 234)
HSLhsl(226, 77%, 64%)
HSVhsv(226, 61%, 92%)
CMYKcmyk(60.7%, 46.2%, 0%, 8.2%)
CIE-LABlab(55.21, 20.60, -58.35)
CIE-LCHlch(55.21, 61.88, 289.44°)
OKLaboklab(62.13% -0.0054 -0.1667)
OKLCHoklch(62.13% 0.167 268.1)
XYZxyz(26.7207, 23.1353, 80.8834)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7EEA #EAC85C
analogous
#5CC5EA #5C7EEA #815CEA
triadic
#5C7EEA #EA5C7E #7EEA5C
tetradic
#5C7EEA #EA5CC5 #EAC85C #5CEA81
square
#5C7EEA #EA5CC5 #EAC85C #5CEA81
split-complementary
#5C7EEA #EA815C #C5EA5C
monochromatic
#173DB4 #2653E3 #5C7EEA #92A9F1 #C8D4F8

Accessibility & contrast

On white

3.73
#5C7EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5C7EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C7EEA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7EEA#FFFFFF#000000##000000
##5C7EEA1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#327EE8
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5c7eea;
/* rgb */ color: rgb(92, 126, 234);
/* oklch */ color: oklch(62.1% 0.167 268.1);
Tailwind
colors: {
  custom: {
    50: '#96a2f1',
    500: '#5c7eea',
    950: '#000000',
  },
}
SCSS
$custom: #5c7eea;
$custom-light: #96a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7eea",
  "rgb": {
    "r": 92,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 225.634,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62131,
    "c": 0.1668,
    "h": 268.1
  },
  "luminance": 0.23138
}

Semantic roles & 50–950 ramp

primary
#5C7EEA
secondary
#EADEB8
accent
#A80CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #5C7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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