#5381CC#5381CC

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

Color values

HEX#5381CC
RGBrgb(83, 129, 204)
HSLhsl(217, 54%, 56%)
HSVhsv(217, 59%, 80%)
CMYKcmyk(59.3%, 36.8%, 0%, 20%)
CIE-LABlab(53.92, 7.07, -43.57)
CIE-LCHlch(53.92, 44.14, 279.22°)
OKLaboklab(60.48% -0.0223 -0.1235)
OKLCHoklch(60.48% 0.126 259.7)
XYZxyz(22.3128, 21.8972, 60.1658)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381CC #CC9E53
analogous
#53BECC #5381CC #6253CC
triadic
#5381CC #CC5381 #81CC53
tetradic
#5381CC #CC53BE #CC9E53 #53CC62
square
#5381CC #CC53BE #CC9E53 #53CC62
split-complementary
#5381CC #CC6253 #BECC53
monochromatic
#26487F #3462AE #5381CC #82A4DA #B1C6E8

Accessibility & contrast

On white

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

On black

5.38
#5381CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381CC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381CC#FFFFFF#000000##000000
##5381CC1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5381cc;
/* rgb */ color: rgb(83, 129, 204);
/* oklch */ color: oklch(60.5% 0.126 259.7);
Tailwind
colors: {
  custom: {
    50: '#8da5dc',
    500: '#5381cc',
    950: '#000000',
  },
}
SCSS
$custom: #5381cc;
$custom-light: #8da5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5381cc",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 217.19,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60476,
    "c": 0.1255,
    "h": 259.7
  },
  "luminance": 0.21899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5381CC

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

Preview Lab → · Contrast checker → · Palette generator →

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