#5381CB#5381CB

#5381CB is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.4% C 0.124 H 259.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5381CB
RGBrgb(83, 129, 203)
HSLhsl(217, 54%, 56%)
HSVhsv(217, 59%, 80%)
CMYKcmyk(59.1%, 36.5%, 0%, 20.4%)
CIE-LABlab(53.87, 6.74, -43.08)
CIE-LCHlch(53.87, 43.61, 278.89°)
OKLaboklab(60.42% -0.0226 -0.1221)
OKLCHoklch(60.42% 0.124 259.5)
XYZxyz(22.1933, 21.8494, 59.5361)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381CB #CB9D53
analogous
#53BDCB #5381CB #6153CB
triadic
#5381CB #CB5381 #81CB53
tetradic
#5381CB #CB53BD #CB9D53 #53CB61
square
#5381CB #CB53BD #CB9D53 #53CB61
split-complementary
#5381CB #CB6153 #BDCB53
monochromatic
#26487E #3462AD #5381CB #82A3D9 #B1C6E7

Accessibility & contrast

On white

3.91
#5381CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5381CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381CB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381CB#FFFFFF#000000##000000
##5381CB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CE
Deuteranopia (green-blind)
#527CC9
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5381cb;
/* rgb */ color: rgb(83, 129, 203);
/* oklch */ color: oklch(60.4% 0.124 259.5);
Tailwind
colors: {
  custom: {
    50: '#8da5db',
    500: '#5381cb',
    950: '#000000',
  },
}
SCSS
$custom: #5381cb;
$custom-light: #8da5db;
$custom-dark: #000000;
JSON
{
  "hex": "#5381cb",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 217,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60419,
    "c": 0.12414,
    "h": 259.5
  },
  "luminance": 0.21851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5381CB

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

Preview Lab → · Contrast checker → · Palette generator →

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