#5E81EF#5E81EF

#5E81EF is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.2% C 0.169 H 268.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5E81EF
RGBrgb(94, 129, 239)
HSLhsl(226, 82%, 65%)
HSVhsv(226, 61%, 94%)
CMYKcmyk(60.7%, 46%, 0%, 6.3%)
CIE-LABlab(56.40, 20.80, -59.23)
CIE-LCHlch(56.40, 62.78, 289.35°)
OKLaboklab(63.16% -0.0058 -0.1692)
OKLCHoklch(63.16% 0.169 268)
XYZxyz(28.0410, 24.3098, 84.8592)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E81EF #EFCC5E
analogous
#5ECAEF #5E81EF #835EEF
triadic
#5E81EF #EF5E81 #81EF5E
tetradic
#5E81EF #EF5ECA #EFCC5E #5EEF83
square
#5E81EF #EF5ECA #EFCC5E #5EEF83
split-complementary
#5E81EF #EF835E #CAEF5E
monochromatic
#133DC0 #2655E9 #5E81EF #96ADF5 #CDD8FA

Accessibility & contrast

On white

3.58
#5E81EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#5E81EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E81EF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E81EF#FFFFFF#000000##000000
##5E81EF1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8EF3
Deuteranopia (green-blind)
#3381ED
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5e81ef;
/* rgb */ color: rgb(94, 129, 239);
/* oklch */ color: oklch(63.2% 0.169 268.0);
Tailwind
colors: {
  custom: {
    50: '#98a5f5',
    500: '#5e81ef',
    950: '#000000',
  },
}
SCSS
$custom: #5e81ef;
$custom-light: #98a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e81ef",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 225.517,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63159,
    "c": 0.16931,
    "h": 268
  },
  "luminance": 0.24312
}

Semantic roles & 50–950 ramp

primary
#5E81EF
secondary
#EDE1BC
accent
#AA07DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5E81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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