#5381DC#5381DC

#5381DC is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.4% C 0.147 H 262.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5381DC
RGBrgb(83, 129, 220)
HSLhsl(220, 66%, 59%)
HSVhsv(220, 62%, 86%)
CMYKcmyk(62.3%, 41.4%, 0%, 13.7%)
CIE-LABlab(54.77, 12.45, -51.25)
CIE-LCHlch(54.77, 52.74, 283.65°)
OKLaboklab(61.41% -0.0189 -0.146)
OKLCHoklch(61.41% 0.147 262.6)
XYZxyz(24.3313, 22.7046, 70.7965)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381DC #DCAE53
analogous
#53C6DC #5381DC #6A53DC
triadic
#5381DC #DC5381 #81DC53
tetradic
#5381DC #DC53C6 #DCAE53 #53DC6A
square
#5381DC #DC53C6 #DCAE53 #53DC6A
split-complementary
#5381DC #DC6A53 #C6DC53
monochromatic
#1F4796 #295FC9 #5381DC #86A6E6 #B9CCF1

Accessibility & contrast

On white

3.79
#5381DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5381DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381DC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381DC#FFFFFF#000000##000000
##5381DC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE0
Deuteranopia (green-blind)
#447DDA
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5381dc;
/* rgb */ color: rgb(83, 129, 220);
/* oklch */ color: oklch(61.4% 0.147 262.6);
Tailwind
colors: {
  custom: {
    50: '#8fa5e7',
    500: '#5381dc',
    950: '#000000',
  },
}
SCSS
$custom: #5381dc;
$custom-light: #8fa5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5381dc",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 219.854,
    "s": 66.184,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6141,
    "c": 0.14721,
    "h": 262.6
  },
  "luminance": 0.22707
}

Semantic roles & 50–950 ramp

primary
#5381DC
secondary
#E0CEAB
accent
#B03FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5381DC

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

Preview Lab → · Contrast checker → · Palette generator →

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