#5D81F7#5D81F7

#5D81F7 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.6% C 0.180 H 268.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5D81F7
RGBrgb(93, 129, 247)
HSLhsl(226, 91%, 67%)
HSVhsv(226, 62%, 97%)
CMYKcmyk(62.3%, 47.8%, 0%, 3.1%)
CIE-LABlab(56.82, 23.29, -62.98)
CIE-LCHlch(56.82, 67.15, 290.29°)
OKLaboklab(63.62% -0.0057 -0.1803)
OKLCHoklch(63.62% 0.18 268.2)
XYZxyz(29.1472, 24.7405, 91.2170)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D81F7 #F7D35D
analogous
#5DCEF7 #5D81F7 #865DF7
triadic
#5D81F7 #F75D81 #81F75D
tetradic
#5D81F7 #F75DCE #F7D35D #5DF786
square
#5D81F7 #F75DCE #F7D35D #5DF786
split-complementary
#5D81F7 #F7865D #CEF75D
monochromatic
#0A38CF #2354F4 #5D81F7 #97AEFA #D2DCFD

Accessibility & contrast

On white

3.53
#5D81F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#5D81F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D81F7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D81F7#FFFFFF#000000##000000
##5D81F71.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d81f7;
/* rgb */ color: rgb(93, 129, 247);
/* oklch */ color: oklch(63.6% 0.180 268.2);
Tailwind
colors: {
  custom: {
    50: '#98a5fa',
    500: '#5d81f7',
    950: '#000000',
  },
}
SCSS
$custom: #5d81f7;
$custom-light: #98a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5d81f7",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 225.974,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63622,
    "c": 0.18035,
    "h": 268.2
  },
  "luminance": 0.24743
}

Semantic roles & 50–950 ramp

primary
#5D81F7
secondary
#F1E5BF
accent
#B000E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5D81F7

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

Preview Lab → · Contrast checker → · Palette generator →

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