#5D81F3#5D81F3

#5D81F3 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.4% C 0.175 H 268.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5D81F3
RGBrgb(93, 129, 243)
HSLhsl(226, 86%, 66%)
HSVhsv(226, 62%, 95%)
CMYKcmyk(61.7%, 46.9%, 0%, 4.7%)
CIE-LABlab(56.58, 21.95, -61.16)
CIE-LCHlch(56.58, 64.98, 289.75°)
OKLaboklab(63.36% -0.0062 -0.1749)
OKLCHoklch(63.36% 0.175 268)
XYZxyz(28.5366, 24.4962, 88.0011)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D81F3 #F3CF5D
analogous
#5DCCF3 #5D81F3 #845DF3
triadic
#5D81F3 #F35D81 #81F35D
tetradic
#5D81F3 #F35DCC #F3CF5D #5DF384
square
#5D81F3 #F35DCC #F3CF5D #5DF384
split-complementary
#5D81F3 #F3845D #CCF35D
monochromatic
#0F3BC7 #2455EF #5D81F3 #96ADF7 #CFDAFB

Accessibility & contrast

On white

3.56
#5D81F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#5D81F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D81F3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D81F3#FFFFFF#000000##000000
##5D81F31.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#488FF7
Deuteranopia (green-blind)
#2C81F1
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5d81f3;
/* rgb */ color: rgb(93, 129, 243);
/* oklch */ color: oklch(63.4% 0.175 268.0);
Tailwind
colors: {
  custom: {
    50: '#98a5f8',
    500: '#5d81f3',
    950: '#000000',
  },
}
SCSS
$custom: #5d81f3;
$custom-light: #98a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d81f3",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 243
  },
  "hsl": {
    "h": 225.6,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63362,
    "c": 0.175,
    "h": 268
  },
  "luminance": 0.24499
}

Semantic roles & 50–950 ramp

primary
#5D81F3
secondary
#EFE3BD
accent
#AD03E3
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5D81F3

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

Preview Lab → · Contrast checker → · Palette generator →

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