#5381E4#5381E4

#5381E4 is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.9% C 0.158 H 263.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5381E4
RGBrgb(83, 129, 228)
HSLhsl(221, 73%, 61%)
HSVhsv(221, 64%, 89%)
CMYKcmyk(63.6%, 43.4%, 0%, 10.6%)
CIE-LABlab(55.21, 15.17, -55.02)
CIE-LCHlch(55.21, 57.08, 285.41°)
OKLaboklab(61.9% -0.0174 -0.157)
OKLCHoklch(61.9% 0.158 263.7)
XYZxyz(25.4162, 23.1386, 76.5105)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381E4 #E4B653
analogous
#53C9E4 #5381E4 #6D53E4
triadic
#5381E4 #E45381 #81E453
tetradic
#5381E4 #E453C9 #E4B653 #53E46D
square
#5381E4 #E453C9 #E4B653 #53E46D
split-complementary
#5381E4 #E46D53 #C9E453
monochromatic
#1A45A3 #225CD8 #5381E4 #88A8EC #BDCEF5

Accessibility & contrast

On white

3.73
#5381E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5381E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381E4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381E4#FFFFFF#000000##000000
##5381E41.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#528BE8
Deuteranopia (green-blind)
#3B7EE2
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5381e4;
/* rgb */ color: rgb(83, 129, 228);
/* oklch */ color: oklch(61.9% 0.158 263.7);
Tailwind
colors: {
  custom: {
    50: '#91a5ed',
    500: '#5381e4',
    950: '#000000',
  },
}
SCSS
$custom: #5381e4;
$custom-light: #91a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5381e4",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 228
  },
  "hsl": {
    "h": 220.966,
    "s": 72.864,
    "l": 60.98
  },
  "oklch": {
    "l": 0.619,
    "c": 0.15801,
    "h": 263.7
  },
  "luminance": 0.23141
}

Semantic roles & 50–950 ramp

primary
#5381E4
secondary
#E5D3AE
accent
#9711D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5381E4

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

Preview Lab → · Contrast checker → · Palette generator →

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