#5E81EB#5E81EB

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

Color values

HEX#5E81EB
RGBrgb(94, 129, 235)
HSLhsl(225, 78%, 65%)
HSVhsv(225, 60%, 92%)
CMYKcmyk(60%, 45.1%, 0%, 7.8%)
CIE-LABlab(56.16, 19.48, -57.38)
CIE-LCHlch(56.16, 60.60, 288.75°)
OKLaboklab(62.91% -0.0064 -0.1638)
OKLCHoklch(62.91% 0.164 267.8)
XYZxyz(27.4567, 24.0760, 81.7814)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E81EB #EBC85E
analogous
#5EC8EB #5E81EB #815EEB
triadic
#5E81EB #EB5E81 #81EB5E
tetradic
#5E81EB #EB5EC8 #EBC85E #5EEB81
square
#5E81EB #EB5EC8 #EBC85E #5EEB81
split-complementary
#5E81EB #EB815E #C8EB5E
monochromatic
#173FB8 #2856E4 #5E81EB #94ACF2 #CBD6F9

Accessibility & contrast

On white

3.61
#5E81EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5E81EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E81EB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E81EB#FFFFFF#000000##000000
##5E81EB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e81eb;
/* rgb */ color: rgb(94, 129, 235);
/* oklch */ color: oklch(62.9% 0.164 267.8);
Tailwind
colors: {
  custom: {
    50: '#97a5f2',
    500: '#5e81eb',
    950: '#000000',
  },
}
SCSS
$custom: #5e81eb;
$custom-light: #97a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e81eb",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 225.106,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62906,
    "c": 0.16389,
    "h": 267.8
  },
  "luminance": 0.24078
}

Semantic roles & 50–950 ramp

primary
#5E81EB
secondary
#EBDFBA
accent
#A70BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5E81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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