#5E81ED#5E81ED

#5E81ED is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.0% C 0.167 H 267.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5E81ED
RGBrgb(94, 129, 237)
HSLhsl(225, 80%, 65%)
HSVhsv(225, 60%, 93%)
CMYKcmyk(60.3%, 45.6%, 0%, 7.1%)
CIE-LABlab(56.28, 20.14, -58.31)
CIE-LCHlch(56.28, 61.69, 289.05°)
OKLaboklab(63.03% -0.0061 -0.1665)
OKLCHoklch(63.03% 0.167 267.9)
XYZxyz(27.7472, 24.1923, 83.3117)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E81ED #EDCA5E
analogous
#5EC8ED #5E81ED #835EED
triadic
#5E81ED #ED5E81 #81ED5E
tetradic
#5E81ED #ED5EC8 #EDCA5E #5EED83
square
#5E81ED #ED5EC8 #EDCA5E #5EED83
split-complementary
#5E81ED #ED835E #C8ED5E
monochromatic
#153EBC #2756E7 #5E81ED #95ACF3 #CCD7F9

Accessibility & contrast

On white

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

On black

5.84
#5E81ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E81ED
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E81ED#FFFFFF#000000##000000
##5E81ED1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF1
Deuteranopia (green-blind)
#3681EB
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5e81ed;
/* rgb */ color: rgb(94, 129, 237);
/* oklch */ color: oklch(63.0% 0.167 267.9);
Tailwind
colors: {
  custom: {
    50: '#97a5f3',
    500: '#5e81ed',
    950: '#000000',
  },
}
SCSS
$custom: #5e81ed;
$custom-light: #97a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e81ed",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 225.315,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63032,
    "c": 0.1666,
    "h": 267.9
  },
  "luminance": 0.24195
}

Semantic roles & 50–950 ramp

primary
#5E81ED
secondary
#ECE0BB
accent
#A909DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5E81ED

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

Preview Lab → · Contrast checker → · Palette generator →

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