#5381D2#5381D2

#5381D2 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.8% C 0.134 H 261.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5381D2
RGBrgb(83, 129, 210)
HSLhsl(218, 59%, 57%)
HSVhsv(218, 60%, 82%)
CMYKcmyk(60.5%, 38.6%, 0%, 17.6%)
CIE-LABlab(54.23, 9.08, -46.48)
CIE-LCHlch(54.23, 47.35, 281.05°)
OKLaboklab(60.82% -0.021 -0.132)
OKLCHoklch(60.82% 0.134 261)
XYZxyz(23.0463, 22.1906, 64.0290)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381D2 #D2A453
analogous
#53C0D2 #5381D2 #6553D2
triadic
#5381D2 #D25381 #81D253
tetradic
#5381D2 #D253C0 #D2A453 #53D265
square
#5381D2 #D253C0 #D2A453 #53D265
split-complementary
#5381D2 #D26553 #C0D253
monochromatic
#234887 #3061B8 #5381D2 #84A5DF #B4C8EB

Accessibility & contrast

On white

3.86
#5381D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5381D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381D2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381D2#FFFFFF#000000##000000
##5381D21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E88D5
Deuteranopia (green-blind)
#4D7CD0
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5381d2;
/* rgb */ color: rgb(83, 129, 210);
/* oklch */ color: oklch(60.8% 0.134 261.0);
Tailwind
colors: {
  custom: {
    50: '#8ea5e0',
    500: '#5381d2',
    950: '#000000',
  },
}
SCSS
$custom: #5381d2;
$custom-light: #8ea5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5381d2",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 210
  },
  "hsl": {
    "h": 218.268,
    "s": 58.525,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60818,
    "c": 0.13364,
    "h": 261
  },
  "luminance": 0.22193
}

Semantic roles & 50–950 ramp

primary
#5381D2
secondary
#DAC7A7
accent
#A946E2
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5381D2

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

Preview Lab → · Contrast checker → · Palette generator →

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