#5D81EE#5D81EE

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

Color values

HEX#5D81EE
RGBrgb(93, 129, 238)
HSLhsl(225, 81%, 65%)
HSVhsv(225, 61%, 93%)
CMYKcmyk(60.9%, 45.8%, 0%, 6.7%)
CIE-LABlab(56.29, 20.29, -58.86)
CIE-LCHlch(56.29, 62.26, 289.02°)
OKLaboklab(63.04% -0.0069 -0.1681)
OKLCHoklch(63.04% 0.168 267.7)
XYZxyz(27.7918, 24.1983, 84.0785)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D81EE #EECA5D
analogous
#5DCAEE #5D81EE #815DEE
triadic
#5D81EE #EE5D81 #81EE5D
tetradic
#5D81EE #EE5DCA #EECA5D #5DEE81
square
#5D81EE #EE5DCA #EECA5D #5DEE81
split-complementary
#5D81EE #EE815D #CAEE5D
monochromatic
#143EBD #2656E8 #5D81EE #94ACF4 #CCD7FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D81EE#FFFFFF#000000##000000
##5D81EE1.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)
#4C8EF2
Deuteranopia (green-blind)
#3481EC
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5d81ee;
/* rgb */ color: rgb(93, 129, 238);
/* oklch */ color: oklch(63.0% 0.168 267.7);
Tailwind
colors: {
  custom: {
    50: '#97a5f4',
    500: '#5d81ee',
    950: '#000000',
  },
}
SCSS
$custom: #5d81ee;
$custom-light: #97a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d81ee",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 225.103,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63041,
    "c": 0.16826,
    "h": 267.7
  },
  "luminance": 0.24201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D81EE

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

Preview Lab → · Contrast checker → · Palette generator →

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