#5381E5#5381E5

#5381E5 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 62.0% C 0.159 H 263.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5381E5
RGBrgb(83, 129, 229)
HSLhsl(221, 74%, 61%)
HSVhsv(221, 64%, 90%)
CMYKcmyk(63.8%, 43.7%, 0%, 10.2%)
CIE-LABlab(55.27, 15.51, -55.49)
CIE-LCHlch(55.27, 57.62, 285.61°)
OKLaboklab(61.96% -0.0172 -0.1584)
OKLCHoklch(61.96% 0.159 263.8)
XYZxyz(25.5555, 23.1943, 77.2437)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381E5 #E5B753
analogous
#53CAE5 #5381E5 #6E53E5
triadic
#5381E5 #E55381 #81E553
tetradic
#5381E5 #E553CA #E5B753 #53E56E
square
#5381E5 #E553CA #E5B753 #53E56E
split-complementary
#5381E5 #E56E53 #CAE553
monochromatic
#1945A5 #215BDA #5381E5 #88A8ED #BDCFF5

Accessibility & contrast

On white

3.72
#5381E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5381E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381E5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381E5#FFFFFF#000000##000000
##5381E51.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#528CE9
Deuteranopia (green-blind)
#3A7EE3
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5381e5;
/* rgb */ color: rgb(83, 129, 229);
/* oklch */ color: oklch(62.0% 0.159 263.8);
Tailwind
colors: {
  custom: {
    50: '#91a5ee',
    500: '#5381e5',
    950: '#000000',
  },
}
SCSS
$custom: #5381e5;
$custom-light: #91a5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5381e5",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 229
  },
  "hsl": {
    "h": 221.096,
    "s": 73.737,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61963,
    "c": 0.15937,
    "h": 263.8
  },
  "luminance": 0.23197
}

Semantic roles & 50–950 ramp

primary
#5381E5
secondary
#E5D4AE
accent
#9710D6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5381E5

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

Preview Lab → · Contrast checker → · Palette generator →

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