#5C81EE#5C81EE

#5C81EE is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.0% C 0.169 H 267.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5C81EE
RGBrgb(92, 129, 238)
HSLhsl(225, 81%, 65%)
HSVhsv(225, 61%, 93%)
CMYKcmyk(61.3%, 45.8%, 0%, 6.7%)
CIE-LABlab(56.23, 20.11, -58.94)
CIE-LCHlch(56.23, 62.28, 288.84°)
OKLaboklab(62.99% -0.0078 -0.1684)
OKLCHoklch(62.99% 0.169 267.3)
XYZxyz(27.6912, 24.1465, 84.0738)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C81EE #EEC95C
analogous
#5CCAEE #5C81EE #805CEE
triadic
#5C81EE #EE5C81 #81EE5C
tetradic
#5C81EE #EE5CCA #EEC95C #5CEE80
square
#5C81EE #EE5CCA #EEC95C #5CEE80
split-complementary
#5C81EE #EE805C #CAEE5C
monochromatic
#143EBC #2556E8 #5C81EE #93ACF4 #CBD7FA

Accessibility & contrast

On white

3.60
#5C81EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5C81EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C81EE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C81EE#FFFFFF#000000##000000
##5C81EE1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8EF2
Deuteranopia (green-blind)
#3381EC
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5c81ee;
/* rgb */ color: rgb(92, 129, 238);
/* oklch */ color: oklch(63.0% 0.169 267.3);
Tailwind
colors: {
  custom: {
    50: '#96a5f4',
    500: '#5c81ee',
    950: '#000000',
  },
}
SCSS
$custom: #5c81ee;
$custom-light: #96a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c81ee",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 224.795,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62988,
    "c": 0.16858,
    "h": 267.3
  },
  "luminance": 0.24149
}

Semantic roles & 50–950 ramp

primary
#5C81EE
secondary
#ECDFBA
accent
#A708DD
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5C81EE

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

Preview Lab → · Contrast checker → · Palette generator →

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