#5381DA#5381DA

#5381DA is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.3% C 0.144 H 262.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5381DA
RGBrgb(83, 129, 218)
HSLhsl(220, 65%, 59%)
HSVhsv(220, 62%, 85%)
CMYKcmyk(61.9%, 40.8%, 0%, 14.5%)
CIE-LABlab(54.66, 11.77, -50.30)
CIE-LCHlch(54.66, 51.66, 283.17°)
OKLaboklab(61.29% -0.0193 -0.1432)
OKLCHoklch(61.29% 0.144 262.3)
XYZxyz(24.0680, 22.5993, 69.4098)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381DA #DAAC53
analogous
#53C4DA #5381DA #6953DA
triadic
#5381DA #DA5381 #81DA53
tetradic
#5381DA #DA53C4 #DAAC53 #53DA69
square
#5381DA #DA53C4 #DAAC53 #53DA69
split-complementary
#5381DA #DA6953 #C4DA53
monochromatic
#204793 #2A5FC5 #5381DA #85A6E5 #B8CBF0

Accessibility & contrast

On white

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

On black

5.52
#5381DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381DA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381DA#FFFFFF#000000##000000
##5381DA1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5989DD
Deuteranopia (green-blind)
#467DD8
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5381da;
/* rgb */ color: rgb(83, 129, 218);
/* oklch */ color: oklch(61.3% 0.144 262.3);
Tailwind
colors: {
  custom: {
    50: '#8fa5e6',
    500: '#5381da',
    950: '#000000',
  },
}
SCSS
$custom: #5381da;
$custom-light: #8fa5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5381da",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 218
  },
  "hsl": {
    "h": 219.556,
    "s": 64.593,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61289,
    "c": 0.14449,
    "h": 262.3
  },
  "luminance": 0.22601
}

Semantic roles & 50–950 ramp

primary
#5381DA
secondary
#DFCDAA
accent
#AF40E8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5381DA

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

Preview Lab → · Contrast checker → · Palette generator →

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