#5D81FA#5D81FA

#5D81FA is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.8% C 0.184 H 268.3°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5D81FA
RGBrgb(93, 129, 250)
HSLhsl(226, 94%, 67%)
HSVhsv(226, 63%, 98%)
CMYKcmyk(62.8%, 48.4%, 0%, 2%)
CIE-LABlab(57.00, 24.29, -64.35)
CIE-LCHlch(57.00, 68.78, 290.68°)
OKLaboklab(63.82% -0.0053 -0.1843)
OKLCHoklch(63.82% 0.184 268.3)
XYZxyz(29.6139, 24.9272, 93.6747)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D81FA #FAD65D
analogous
#5DD0FA #5D81FA #885DFA
triadic
#5D81FA #FA5D81 #81FA5D
tetradic
#5D81FA #FA5DD0 #FAD65D #5DFA88
square
#5D81FA #FA5DD0 #FAD65D #5DFA88
split-complementary
#5D81FA #FA885D #D0FA5D
monochromatic
#0736D6 #2253F8 #5D81FA #98AFFC #D4DDFE

Accessibility & contrast

On white

3.51
#5D81FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#5D81FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D81FA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D81FA#FFFFFF#000000##000000
##5D81FA1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FE
Deuteranopia (green-blind)
#1B82F7
Tritanopia (blue-blind)
#009DB2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5d81fa;
/* rgb */ color: rgb(93, 129, 250);
/* oklch */ color: oklch(63.8% 0.184 268.3);
Tailwind
colors: {
  custom: {
    50: '#99a5fd',
    500: '#5d81fa',
    950: '#000000',
  },
}
SCSS
$custom: #5d81fa;
$custom-light: #99a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d81fa",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 226.242,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6382,
    "c": 0.18436,
    "h": 268.3
  },
  "luminance": 0.2493
}

Semantic roles & 50–950 ramp

primary
#5D81FA
secondary
#F2E7C1
accent
#B100E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5D81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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