#5C81EA#5C81EA

#5C81EA is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.7% C 0.163 H 267.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5C81EA
RGBrgb(92, 129, 234)
HSLhsl(224, 77%, 64%)
HSVhsv(224, 61%, 92%)
CMYKcmyk(60.7%, 44.9%, 0%, 8.2%)
CIE-LABlab(56.00, 18.78, -57.09)
CIE-LCHlch(56.00, 60.10, 288.21°)
OKLaboklab(62.74% -0.0084 -0.163)
OKLCHoklch(62.74% 0.163 267)
XYZxyz(27.1101, 23.9140, 81.0132)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C81EA #EAC55C
analogous
#5CC8EA #5C81EA #7E5CEA
triadic
#5C81EA #EA5C81 #81EA5C
tetradic
#5C81EA #EA5CC8 #EAC55C #5CEA7E
square
#5C81EA #EA5CC8 #EAC55C #5CEA7E
split-complementary
#5C81EA #EA7E5C #C8EA5C
monochromatic
#1740B4 #2657E3 #5C81EA #92ABF1 #C8D5F8

Accessibility & contrast

On white

3.63
#5C81EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#5C81EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C81EA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C81EA#FFFFFF#000000##000000
##5C81EA1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#3980E8
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5c81ea;
/* rgb */ color: rgb(92, 129, 234);
/* oklch */ color: oklch(62.7% 0.163 267.0);
Tailwind
colors: {
  custom: {
    50: '#96a5f1',
    500: '#5c81ea',
    950: '#000000',
  },
}
SCSS
$custom: #5c81ea;
$custom-light: #96a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c81ea",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 224.366,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62735,
    "c": 0.16317,
    "h": 267
  },
  "luminance": 0.23916
}

Semantic roles & 50–950 ramp

primary
#5C81EA
secondary
#EADDB8
accent
#A40CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5C81EA

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

Preview Lab → · Contrast checker → · Palette generator →

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