#5381CF#5381CF

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

Color values

HEX#5381CF
RGBrgb(83, 129, 207)
HSLhsl(218, 56%, 57%)
HSVhsv(218, 60%, 81%)
CMYKcmyk(59.9%, 37.7%, 0%, 18.8%)
CIE-LABlab(54.07, 8.07, -45.03)
CIE-LCHlch(54.07, 45.74, 280.17°)
OKLaboklab(60.65% -0.0216 -0.1277)
OKLCHoklch(60.65% 0.13 260.4)
XYZxyz(22.6761, 22.0425, 62.0790)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381CF #CFA153
analogous
#53BFCF #5381CF #6353CF
triadic
#5381CF #CF5381 #81CF53
tetradic
#5381CF #CF53BF #CFA153 #53CF63
square
#5381CF #CF53BF #CFA153 #53CF63
split-complementary
#5381CF #CF6353 #BFCF53
monochromatic
#254883 #3262B3 #5381CF #83A4DC #B3C7EA

Accessibility & contrast

On white

3.88
#5381CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5381CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381CF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381CF#FFFFFF#000000##000000
##5381CF1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6088D2
Deuteranopia (green-blind)
#4F7CCD
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5381cf;
/* rgb */ color: rgb(83, 129, 207);
/* oklch */ color: oklch(60.6% 0.130 260.4);
Tailwind
colors: {
  custom: {
    50: '#8da5de',
    500: '#5381cf',
    950: '#000000',
  },
}
SCSS
$custom: #5381cf;
$custom-light: #8da5de;
$custom-dark: #000000;
JSON
{
  "hex": "#5381cf",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 217.742,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60646,
    "c": 0.12956,
    "h": 260.4
  },
  "luminance": 0.22045
}

Semantic roles & 50–950 ramp

primary
#5381CF
secondary
#D8C5A6
accent
#A748E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5381CF

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

Preview Lab → · Contrast checker → · Palette generator →

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