#5C81E8#5C81E8

#5C81E8 is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.6% C 0.160 H 266.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5C81E8
RGBrgb(92, 129, 232)
HSLhsl(224, 75%, 64%)
HSVhsv(224, 60%, 91%)
CMYKcmyk(60.3%, 44.4%, 0%, 9%)
CIE-LABlab(55.89, 18.11, -56.16)
CIE-LCHlch(55.89, 59.01, 287.88°)
OKLaboklab(62.61% -0.0087 -0.1602)
OKLCHoklch(62.61% 0.16 266.9)
XYZxyz(26.8244, 23.7997, 79.5085)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C81E8 #E8C35C
analogous
#5CC7E8 #5C81E8 #7D5CE8
triadic
#5C81E8 #E85C81 #81E85C
tetradic
#5C81E8 #E85CC7 #E8C35C #5CE87D
square
#5C81E8 #E85CC7 #E8C35C #5CE87D
split-complementary
#5C81E8 #E87D5C #C7E85C
monochromatic
#1941B1 #2658E0 #5C81E8 #92AAF0 #C7D4F7

Accessibility & contrast

On white

3.65
#5C81E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5C81E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C81E8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C81E8#FFFFFF#000000##000000
##5C81E81.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#518DEC
Deuteranopia (green-blind)
#3B80E6
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5c81e8;
/* rgb */ color: rgb(92, 129, 232);
/* oklch */ color: oklch(62.6% 0.160 266.9);
Tailwind
colors: {
  custom: {
    50: '#96a5f0',
    500: '#5c81e8',
    950: '#000000',
  },
}
SCSS
$custom: #5c81e8;
$custom-light: #96a5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c81e8",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 232
  },
  "hsl": {
    "h": 224.143,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6261,
    "c": 0.16046,
    "h": 266.9
  },
  "luminance": 0.23802
}

Semantic roles & 50–950 ramp

primary
#5C81E8
secondary
#E9DCB7
accent
#A20ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5C81E8

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

Preview Lab → · Contrast checker → · Palette generator →

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