#5D81ED#5D81ED

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

Color values

HEX#5D81ED
RGBrgb(93, 129, 237)
HSLhsl(225, 80%, 65%)
HSVhsv(225, 61%, 93%)
CMYKcmyk(60.8%, 45.6%, 0%, 7.1%)
CIE-LABlab(56.23, 19.96, -58.39)
CIE-LCHlch(56.23, 61.71, 288.87°)
OKLaboklab(62.98% -0.007 -0.1668)
OKLCHoklch(62.98% 0.167 267.6)
XYZxyz(27.6453, 24.1397, 83.3069)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D81ED #EDC95D
analogous
#5DC9ED #5D81ED #815DED
triadic
#5D81ED #ED5D81 #81ED5D
tetradic
#5D81ED #ED5DC9 #EDC95D #5DED81
square
#5D81ED #ED5DC9 #EDC95D #5DED81
split-complementary
#5D81ED #ED815D #C9ED5D
monochromatic
#153EBB #2656E7 #5D81ED #94ACF3 #CBD7F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D81ED#FFFFFF#000000##000000
##5D81ED1.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)
#4D8EF1
Deuteranopia (green-blind)
#3581EB
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5d81ed;
/* rgb */ color: rgb(93, 129, 237);
/* oklch */ color: oklch(63.0% 0.167 267.6);
Tailwind
colors: {
  custom: {
    50: '#97a5f3',
    500: '#5d81ed',
    950: '#000000',
  },
}
SCSS
$custom: #5d81ed;
$custom-light: #97a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d81ed",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 225,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62978,
    "c": 0.16692,
    "h": 267.6
  },
  "luminance": 0.24142
}

Semantic roles & 50–950 ramp

primary
#5D81ED
secondary
#ECDFBA
accent
#A809DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5D81ED

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

Preview Lab → · Contrast checker → · Palette generator →

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