#5D81EB#5D81EB

#5D81EB is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.9% C 0.164 H 267.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5D81EB
RGBrgb(93, 129, 235)
HSLhsl(225, 78%, 64%)
HSVhsv(225, 60%, 92%)
CMYKcmyk(60.4%, 45.1%, 0%, 7.8%)
CIE-LABlab(56.11, 19.29, -57.47)
CIE-LCHlch(56.11, 60.62, 288.56°)
OKLaboklab(62.85% -0.0073 -0.164)
OKLCHoklch(62.85% 0.164 267.4)
XYZxyz(27.3548, 24.0235, 81.7766)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D81EB #EBC75D
analogous
#5DC8EB #5D81EB #805DEB
triadic
#5D81EB #EB5D81 #81EB5D
tetradic
#5D81EB #EB5DC8 #EBC75D #5DEB80
square
#5D81EB #EB5DC8 #EBC75D #5DEB80
split-complementary
#5D81EB #EB805D #C8EB5D
monochromatic
#173FB7 #2757E4 #5D81EB #93ABF2 #CAD6F8

Accessibility & contrast

On white

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

On black

5.81
#5D81EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D81EB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D81EB#FFFFFF#000000##000000
##5D81EB1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEF
Deuteranopia (green-blind)
#3880E9
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5d81eb;
/* rgb */ color: rgb(93, 129, 235);
/* oklch */ color: oklch(62.9% 0.164 267.4);
Tailwind
colors: {
  custom: {
    50: '#97a5f2',
    500: '#5d81eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d81eb;
$custom-light: #97a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d81eb",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 224.789,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62851,
    "c": 0.1642,
    "h": 267.4
  },
  "luminance": 0.24026
}

Semantic roles & 50–950 ramp

primary
#5D81EB
secondary
#EBDEB9
accent
#A60BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5D81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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