#5381D7#5381D7

#5381D7 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.1% C 0.140 H 261.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5381D7
RGBrgb(83, 129, 215)
HSLhsl(219, 62%, 58%)
HSVhsv(219, 61%, 84%)
CMYKcmyk(61.4%, 40%, 0%, 15.7%)
CIE-LABlab(54.49, 10.76, -48.87)
CIE-LCHlch(54.49, 50.04, 282.41°)
OKLaboklab(61.11% -0.0199 -0.139)
OKLCHoklch(61.11% 0.14 261.9)
XYZxyz(23.6790, 22.4437, 67.3610)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381D7 #D7A953
analogous
#53C3D7 #5381D7 #6753D7
triadic
#5381D7 #D75381 #81D753
tetradic
#5381D7 #D753C3 #D7A953 #53D767
square
#5381D7 #D753C3 #D7A953 #53D767
split-complementary
#5381D7 #D76753 #C3D753
monochromatic
#21478E #2D60C0 #5381D7 #85A5E3 #B6CAEE

Accessibility & contrast

On white

3.83
#5381D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5381D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381D7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381D7#FFFFFF#000000##000000
##5381D71.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B89DA
Deuteranopia (green-blind)
#497DD5
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5381d7;
/* rgb */ color: rgb(83, 129, 215);
/* oklch */ color: oklch(61.1% 0.140 261.9);
Tailwind
colors: {
  custom: {
    50: '#8fa5e4',
    500: '#5381d7',
    950: '#000000',
  },
}
SCSS
$custom: #5381d7;
$custom-light: #8fa5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5381d7",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 215
  },
  "hsl": {
    "h": 219.091,
    "s": 62.264,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61111,
    "c": 0.14043,
    "h": 261.9
  },
  "luminance": 0.22446
}

Semantic roles & 50–950 ramp

primary
#5381D7
secondary
#DDCBA9
accent
#AD42E5
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #5381D7

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

Preview Lab → · Contrast checker → · Palette generator →

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