#5381FC#5381FC

#5381FC is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.5% C 0.190 H 265.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5381FC
RGBrgb(83, 129, 252)
HSLhsl(224, 97%, 66%)
HSVhsv(224, 67%, 99%)
CMYKcmyk(67.1%, 48.8%, 0%, 1.2%)
CIE-LABlab(56.65, 23.40, -66.05)
CIE-LCHlch(56.65, 70.07, 289.51°)
OKLaboklab(63.46% -0.014 -0.1895)
OKLCHoklch(63.46% 0.19 265.8)
XYZxyz(28.9821, 24.5649, 95.2907)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381FC #FCCE53
analogous
#53D5FC #5381FC #7A53FC
triadic
#5381FC #FC5381 #81FC53
tetradic
#5381FC #FC53D5 #FCCE53 #53FC7A
square
#5381FC #FC53D5 #FCCE53 #53FC7A
split-complementary
#5381FC #FC7A53 #D5FC53
monochromatic
#043CD1 #1755FB #5381FC #8FADFD #CBD9FE

Accessibility & contrast

On white

3.55
#5381FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#5381FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381FC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381FC#FFFFFF#000000##000000
##5381FC1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C90FF
Deuteranopia (green-blind)
#0081F9
Tritanopia (blue-blind)
#009EB3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5381fc;
/* rgb */ color: rgb(83, 129, 252);
/* oklch */ color: oklch(63.5% 0.190 265.8);
Tailwind
colors: {
  custom: {
    50: '#95a5fe',
    500: '#5381fc',
    950: '#000000',
  },
}
SCSS
$custom: #5381fc;
$custom-light: #95a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5381fc",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 223.669,
    "s": 96.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63459,
    "c": 0.18998,
    "h": 265.8
  },
  "luminance": 0.24568
}

Semantic roles & 50–950 ramp

primary
#5381FC
secondary
#F2E2B9
accent
#A700E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86

Preview Lab

Preview with #5381FC

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

Preview Lab → · Contrast checker → · Palette generator →

#5381FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva