#5381CE#5381CE

#5381CE is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.6% C 0.128 H 260.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5381CE
RGBrgb(83, 129, 206)
HSLhsl(218, 56%, 57%)
HSVhsv(218, 60%, 81%)
CMYKcmyk(59.7%, 37.4%, 0%, 19.2%)
CIE-LABlab(54.02, 7.74, -44.54)
CIE-LCHlch(54.02, 45.21, 279.86°)
OKLaboklab(60.59% -0.0219 -0.1263)
OKLCHoklch(60.59% 0.128 260.2)
XYZxyz(22.5542, 21.9938, 61.4372)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381CE #CEA053
analogous
#53BFCE #5381CE #6353CE
triadic
#5381CE #CE5381 #81CE53
tetradic
#5381CE #CE53BF #CEA053 #53CE63
square
#5381CE #CE53BF #CEA053 #53CE63
split-complementary
#5381CE #CE6353 #BFCE53
monochromatic
#254882 #3362B1 #5381CE #83A4DC #B2C7E9

Accessibility & contrast

On white

3.89
#5381CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5381CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381CE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381CE#FFFFFF#000000##000000
##5381CE1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D1
Deuteranopia (green-blind)
#507CCC
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5381ce;
/* rgb */ color: rgb(83, 129, 206);
/* oklch */ color: oklch(60.6% 0.128 260.2);
Tailwind
colors: {
  custom: {
    50: '#8da5dd',
    500: '#5381ce',
    950: '#000000',
  },
}
SCSS
$custom: #5381ce;
$custom-light: #8da5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5381ce",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 217.561,
    "s": 55.656,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60589,
    "c": 0.12821,
    "h": 260.2
  },
  "luminance": 0.21996
}

Semantic roles & 50–950 ramp

primary
#5381CE
secondary
#D8C5A5
accent
#A749DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5381CE

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

Preview Lab → · Contrast checker → · Palette generator →

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