#5381DB#5381DB

#5381DB is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.3% C 0.146 H 262.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5381DB
RGBrgb(83, 129, 219)
HSLhsl(220, 65%, 59%)
HSVhsv(220, 62%, 86%)
CMYKcmyk(62.1%, 41.1%, 0%, 14.1%)
CIE-LABlab(54.71, 12.11, -50.78)
CIE-LCHlch(54.71, 52.20, 283.41°)
OKLaboklab(61.35% -0.0191 -0.1446)
OKLCHoklch(61.35% 0.146 262.5)
XYZxyz(24.1993, 22.6518, 70.1011)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381DB #DBAD53
analogous
#53C5DB #5381DB #6953DB
triadic
#5381DB #DB5381 #81DB53
tetradic
#5381DB #DB53C5 #DBAD53 #53DB69
square
#5381DB #DB53C5 #DBAD53 #53DB69
split-complementary
#5381DB #DB6953 #C5DB53
monochromatic
#1F4795 #2A5FC7 #5381DB #86A6E6 #B8CBF0

Accessibility & contrast

On white

3.80
#5381DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#5381DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381DB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381DB#FFFFFF#000000##000000
##5381DB1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#457DD9
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5381db;
/* rgb */ color: rgb(83, 129, 219);
/* oklch */ color: oklch(61.3% 0.146 262.5);
Tailwind
colors: {
  custom: {
    50: '#8fa5e6',
    500: '#5381db',
    950: '#000000',
  },
}
SCSS
$custom: #5381db;
$custom-light: #8fa5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5381db",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 219.706,
    "s": 65.385,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61349,
    "c": 0.14585,
    "h": 262.5
  },
  "luminance": 0.22654
}

Semantic roles & 50–950 ramp

primary
#5381DB
secondary
#DFCEAA
accent
#AF3FE8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5381DB

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

Preview Lab → · Contrast checker → · Palette generator →

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