#5381D5#5381D5

#5381D5 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.0% C 0.138 H 261.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5381D5
RGBrgb(83, 129, 213)
HSLhsl(219, 61%, 58%)
HSVhsv(219, 61%, 84%)
CMYKcmyk(61%, 39.4%, 0%, 16.5%)
CIE-LABlab(54.39, 10.08, -47.92)
CIE-LCHlch(54.39, 48.97, 281.89°)
OKLaboklab(60.99% -0.0203 -0.1362)
OKLCHoklch(60.99% 0.138 261.5)
XYZxyz(23.4236, 22.3415, 66.0158)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381D5 #D5A753
analogous
#53C2D5 #5381D5 #6653D5
triadic
#5381D5 #D55381 #81D553
tetradic
#5381D5 #D553C2 #D5A753 #53D566
square
#5381D5 #D553C2 #D5A753 #53D566
split-complementary
#5381D5 #D56653 #C2D553
monochromatic
#22478C #2E61BD #5381D5 #84A5E1 #B5C9ED

Accessibility & contrast

On white

3.84
#5381D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5381D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381D5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381D5#FFFFFF#000000##000000
##5381D51.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C89D8
Deuteranopia (green-blind)
#4A7DD3
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5381d5;
/* rgb */ color: rgb(83, 129, 213);
/* oklch */ color: oklch(61.0% 0.138 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ea5e2',
    500: '#5381d5',
    950: '#000000',
  },
}
SCSS
$custom: #5381d5;
$custom-light: #8ea5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5381d5",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 213
  },
  "hsl": {
    "h": 218.769,
    "s": 60.748,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60993,
    "c": 0.13771,
    "h": 261.5
  },
  "luminance": 0.22344
}

Semantic roles & 50–950 ramp

primary
#5381D5
secondary
#DCC9A8
accent
#AB44E4
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5381D5

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

Preview Lab → · Contrast checker → · Palette generator →

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