#5D81EF#5D81EF

#5D81EF is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.1% C 0.170 H 267.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5D81EF
RGBrgb(93, 129, 239)
HSLhsl(225, 82%, 65%)
HSVhsv(225, 61%, 94%)
CMYKcmyk(61.1%, 46%, 0%, 6.3%)
CIE-LABlab(56.34, 20.62, -59.32)
CIE-LCHlch(56.34, 62.80, 289.17°)
OKLaboklab(63.11% -0.0067 -0.1695)
OKLCHoklch(63.11% 0.17 267.7)
XYZxyz(27.9391, 24.2573, 84.8544)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D81EF #EFCB5D
analogous
#5DCAEF #5D81EF #825DEF
triadic
#5D81EF #EF5D81 #81EF5D
tetradic
#5D81EF #EF5DCA #EFCB5D #5DEF82
square
#5D81EF #EF5DCA #EFCB5D #5DEF82
split-complementary
#5D81EF #EF825D #CAEF5D
monochromatic
#133DBF #2556E9 #5D81EF #95ACF5 #CCD8FA

Accessibility & contrast

On white

3.59
#5D81EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#5D81EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D81EF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D81EF#FFFFFF#000000##000000
##5D81EF1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d81ef;
/* rgb */ color: rgb(93, 129, 239);
/* oklch */ color: oklch(63.1% 0.170 267.7);
Tailwind
colors: {
  custom: {
    50: '#97a5f5',
    500: '#5d81ef',
    950: '#000000',
  },
}
SCSS
$custom: #5d81ef;
$custom-light: #97a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d81ef",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 225.205,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63105,
    "c": 0.16961,
    "h": 267.7
  },
  "luminance": 0.2426
}

Semantic roles & 50–950 ramp

primary
#5D81EF
secondary
#EDE0BB
accent
#A907DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5D81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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