#5E81F7#5E81F7

#5E81F7 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.7% C 0.180 H 268.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5E81F7
RGBrgb(94, 129, 247)
HSLhsl(226, 91%, 67%)
HSVhsv(226, 62%, 97%)
CMYKcmyk(61.9%, 47.8%, 0%, 3.1%)
CIE-LABlab(56.87, 23.46, -62.90)
CIE-LCHlch(56.87, 67.13, 290.45°)
OKLaboklab(63.68% -0.0048 -0.18)
OKLCHoklch(63.68% 0.18 268.5)
XYZxyz(29.2491, 24.7930, 91.2218)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E81F7 #F7D45E
analogous
#5ECDF7 #5E81F7 #885EF7
triadic
#5E81F7 #F75E81 #81F75E
tetradic
#5E81F7 #F75ECD #F7D45E #5EF788
square
#5E81F7 #F75ECD #F7D45E #5EF788
split-complementary
#5E81F7 #F7885E #CDF75E
monochromatic
#0A38D0 #2453F4 #5E81F7 #98AFFA #D3DCFD

Accessibility & contrast

On white

3.52
#5E81F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5E81F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E81F7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E81F7#FFFFFF#000000##000000
##5E81F71.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FB
Deuteranopia (green-blind)
#2482F5
Tritanopia (blue-blind)
#009CB0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5e81f7;
/* rgb */ color: rgb(94, 129, 247);
/* oklch */ color: oklch(63.7% 0.180 268.5);
Tailwind
colors: {
  custom: {
    50: '#99a5fa',
    500: '#5e81f7',
    950: '#000000',
  },
}
SCSS
$custom: #5e81f7;
$custom-light: #99a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e81f7",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 226.275,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63675,
    "c": 0.18005,
    "h": 268.5
  },
  "luminance": 0.24796
}

Semantic roles & 50–950 ramp

primary
#5E81F7
secondary
#F1E6C0
accent
#B100E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5E81F7

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

Preview Lab → · Contrast checker → · Palette generator →

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