#5D81F8#5D81F8

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

Color values

HEX#5D81F8
RGBrgb(93, 129, 248)
HSLhsl(226, 92%, 67%)
HSVhsv(226, 63%, 97%)
CMYKcmyk(62.5%, 48%, 0%, 2.7%)
CIE-LABlab(56.88, 23.62, -63.44)
CIE-LCHlch(56.88, 67.70, 290.42°)
OKLaboklab(63.69% -0.0056 -0.1816)
OKLCHoklch(63.69% 0.182 268.2)
XYZxyz(29.3020, 24.8024, 92.0319)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D81F8 #F8D45D
analogous
#5DCEF8 #5D81F8 #875DF8
triadic
#5D81F8 #F85D81 #81F85D
tetradic
#5D81F8 #F85DCE #F8D45D #5DF887
square
#5D81F8 #F85DCE #F8D45D #5DF887
split-complementary
#5D81F8 #F8875D #CEF85D
monochromatic
#0938D2 #2253F5 #5D81F8 #98AFFB #D2DCFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D81F8#FFFFFF#000000##000000
##5D81F81.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)
#4390FC
Deuteranopia (green-blind)
#2182F6
Tritanopia (blue-blind)
#009CB1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5d81f8;
/* rgb */ color: rgb(93, 129, 248);
/* oklch */ color: oklch(63.7% 0.182 268.2);
Tailwind
colors: {
  custom: {
    50: '#99a5fb',
    500: '#5d81f8',
    950: '#000000',
  },
}
SCSS
$custom: #5d81f8;
$custom-light: #99a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d81f8",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 226.065,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63688,
    "c": 0.18169,
    "h": 268.2
  },
  "luminance": 0.24805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D81F8

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

Preview Lab → · Contrast checker → · Palette generator →

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