#5E81EE#5E81EE

#5E81EE is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.1% C 0.168 H 268.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5E81EE
RGBrgb(94, 129, 238)
HSLhsl(225, 81%, 65%)
HSVhsv(225, 61%, 93%)
CMYKcmyk(60.5%, 45.8%, 0%, 6.7%)
CIE-LABlab(56.34, 20.47, -58.77)
CIE-LCHlch(56.34, 62.23, 289.20°)
OKLaboklab(63.1% -0.0059 -0.1678)
OKLCHoklch(63.1% 0.168 268)
XYZxyz(27.8937, 24.2509, 84.0833)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E81EE #EECB5E
analogous
#5EC9EE #5E81EE #835EEE
triadic
#5E81EE #EE5E81 #81EE5E
tetradic
#5E81EE #EE5EC9 #EECB5E #5EEE83
square
#5E81EE #EE5EC9 #EECB5E #5EEE83
split-complementary
#5E81EE #EE835E #C9EE5E
monochromatic
#143DBE #2756E8 #5E81EE #95ACF4 #CDD8FA

Accessibility & contrast

On white

3.59
#5E81EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#5E81EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E81EE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E81EE#FFFFFF#000000##000000
##5E81EE1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e81ee;
/* rgb */ color: rgb(94, 129, 238);
/* oklch */ color: oklch(63.1% 0.168 268.0);
Tailwind
colors: {
  custom: {
    50: '#97a5f4',
    500: '#5e81ee',
    950: '#000000',
  },
}
SCSS
$custom: #5e81ee;
$custom-light: #97a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e81ee",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 225.417,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63095,
    "c": 0.16796,
    "h": 268
  },
  "luminance": 0.24253
}

Semantic roles & 50–950 ramp

primary
#5E81EE
secondary
#ECE0BB
accent
#A908DD
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5E81EE

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

Preview Lab → · Contrast checker → · Palette generator →

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