#5381CD#5381CD

#5381CD is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.5% C 0.127 H 260.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5381CD
RGBrgb(83, 129, 205)
HSLhsl(217, 55%, 56%)
HSVhsv(217, 60%, 80%)
CMYKcmyk(59.5%, 37.1%, 0%, 19.6%)
CIE-LABlab(53.97, 7.41, -44.06)
CIE-LCHlch(53.97, 44.68, 279.54°)
OKLaboklab(60.53% -0.0221 -0.1249)
OKLCHoklch(60.53% 0.127 260)
XYZxyz(22.4331, 21.9453, 60.7995)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381CD #CD9F53
analogous
#53BECD #5381CD #6253CD
triadic
#5381CD #CD5381 #81CD53
tetradic
#5381CD #CD53BE #CD9F53 #53CD62
square
#5381CD #CD53BE #CD9F53 #53CD62
split-complementary
#5381CD #CD6253 #BECD53
monochromatic
#254880 #3362B0 #5381CD #82A4DB #B2C6E9

Accessibility & contrast

On white

3.90
#5381CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#5381CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381CD
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381CD#FFFFFF#000000##000000
##5381CD1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#517CCB
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5381cd;
/* rgb */ color: rgb(83, 129, 205);
/* oklch */ color: oklch(60.5% 0.127 260.0);
Tailwind
colors: {
  custom: {
    50: '#8da5dc',
    500: '#5381cd',
    950: '#000000',
  },
}
SCSS
$custom: #5381cd;
$custom-light: #8da5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5381cd",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 217.377,
    "s": 54.955,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.12685,
    "h": 260
  },
  "luminance": 0.21947
}

Semantic roles & 50–950 ramp

primary
#5381CD
secondary
#D7C4A5
accent
#A64ADE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5381CD

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

Preview Lab → · Contrast checker → · Palette generator →

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