#5381C5#5381C5

#5381C5 is a mid, moderate blue. Relative luminance 0.216; OKLCH L 60.1% C 0.116 H 258.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5381C5
RGBrgb(83, 129, 197)
HSLhsl(216, 50%, 55%)
HSVhsv(216, 58%, 77%)
CMYKcmyk(57.9%, 34.5%, 0%, 22.7%)
CIE-LABlab(53.57, 4.76, -40.15)
CIE-LCHlch(53.57, 40.43, 276.76°)
OKLaboklab(60.09% -0.0241 -0.1135)
OKLCHoklch(60.09% 0.116 258)
XYZxyz(21.4921, 21.5689, 55.8431)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381C5 #C59753
analogous
#53BAC5 #5381C5 #5E53C5
triadic
#5381C5 #C55381 #81C553
tetradic
#5381C5 #C553BA #C59753 #53C55E
square
#5381C5 #C553BA #C59753 #53C55E
split-complementary
#5381C5 #C55E53 #BAC553
monochromatic
#284776 #3763A4 #5381C5 #81A3D4 #AFC4E4

Accessibility & contrast

On white

3.95
#5381C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5381C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381C5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381C5#FFFFFF#000000##000000
##5381C51.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6586C8
Deuteranopia (green-blind)
#567BC4
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5381c5;
/* rgb */ color: rgb(83, 129, 197);
/* oklch */ color: oklch(60.1% 0.116 258.0);
Tailwind
colors: {
  custom: {
    50: '#8ca5d7',
    500: '#5381c5',
    950: '#000000',
  },
}
SCSS
$custom: #5381c5;
$custom-light: #8ca5d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5381c5",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 197
  },
  "hsl": {
    "h": 215.789,
    "s": 49.565,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60087,
    "c": 0.11603,
    "h": 258
  },
  "luminance": 0.21571
}

Semantic roles & 50–950 ramp

primary
#5381C5
secondary
#D2BFA2
accent
#A14FD9
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5381C5

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

Preview Lab → · Contrast checker → · Palette generator →

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