#5C81EB#5C81EB

#5C81EB is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.8% C 0.165 H 267.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5C81EB
RGBrgb(92, 129, 235)
HSLhsl(224, 78%, 64%)
HSVhsv(224, 61%, 92%)
CMYKcmyk(60.9%, 45.1%, 0%, 7.8%)
CIE-LABlab(56.06, 19.11, -57.55)
CIE-LCHlch(56.06, 60.64, 288.37°)
OKLaboklab(62.8% -0.0082 -0.1643)
OKLCHoklch(62.8% 0.165 267.1)
XYZxyz(27.2542, 23.9716, 81.7719)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C81EB #EBC65C
analogous
#5CC8EB #5C81EB #7F5CEB
triadic
#5C81EB #EB5C81 #81EB5C
tetradic
#5C81EB #EB5CC8 #EBC65C #5CEB7F
square
#5C81EB #EB5CC8 #EBC65C #5CEB7F
split-complementary
#5C81EB #EB7F5C #C8EB5C
monochromatic
#1640B6 #2557E4 #5C81EB #93ABF2 #C9D5F8

Accessibility & contrast

On white

3.62
#5C81EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5C81EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C81EB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C81EB#FFFFFF#000000##000000
##5C81EB1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#3780E9
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5c81eb;
/* rgb */ color: rgb(92, 129, 235);
/* oklch */ color: oklch(62.8% 0.165 267.1);
Tailwind
colors: {
  custom: {
    50: '#96a5f2',
    500: '#5c81eb',
    950: '#000000',
  },
}
SCSS
$custom: #5c81eb;
$custom-light: #96a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c81eb",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 224.476,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62798,
    "c": 0.16452,
    "h": 267.1
  },
  "luminance": 0.23974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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