#5E81EA#5E81EA

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

Color values

HEX#5E81EA
RGBrgb(94, 129, 234)
HSLhsl(225, 77%, 64%)
HSVhsv(225, 60%, 92%)
CMYKcmyk(59.8%, 44.9%, 0%, 8.2%)
CIE-LABlab(56.11, 19.14, -56.92)
CIE-LCHlch(56.11, 60.05, 288.59°)
OKLaboklab(62.84% -0.0065 -0.1624)
OKLCHoklch(62.84% 0.163 267.7)
XYZxyz(27.3126, 24.0184, 81.0227)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E81EA #EAC75E
analogous
#5EC7EA #5E81EA #815EEA
triadic
#5E81EA #EA5E81 #81EA5E
tetradic
#5E81EA #EA5EC7 #EAC75E #5EEA81
square
#5E81EA #EA5EC7 #EAC75E #5EEA81
split-complementary
#5E81EA #EA815E #C7EA5E
monochromatic
#183FB6 #2857E3 #5E81EA #94ABF1 #CAD6F8

Accessibility & contrast

On white

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

On black

5.80
#5E81EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E81EA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E81EA#FFFFFF#000000##000000
##5E81EA1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#508DEE
Deuteranopia (green-blind)
#3A81E8
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5e81ea;
/* rgb */ color: rgb(94, 129, 234);
/* oklch */ color: oklch(62.8% 0.163 267.7);
Tailwind
colors: {
  custom: {
    50: '#97a5f1',
    500: '#5e81ea',
    950: '#000000',
  },
}
SCSS
$custom: #5e81ea;
$custom-light: #97a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e81ea",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 225,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62843,
    "c": 0.16253,
    "h": 267.7
  },
  "luminance": 0.24021
}

Semantic roles & 50–950 ramp

primary
#5E81EA
secondary
#EADEBA
accent
#A60CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5E81EA

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

Preview Lab → · Contrast checker → · Palette generator →

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