#5381E1#5381E1

#5381E1 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.7% C 0.154 H 263.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5381E1
RGBrgb(83, 129, 225)
HSLhsl(221, 70%, 60%)
HSVhsv(221, 63%, 88%)
CMYKcmyk(63.1%, 42.7%, 0%, 11.8%)
CIE-LABlab(55.05, 14.15, -53.62)
CIE-LCHlch(55.05, 55.45, 284.78°)
OKLaboklab(61.71% -0.0179 -0.1529)
OKLCHoklch(61.71% 0.154 263.3)
XYZxyz(25.0034, 22.9735, 74.3362)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381E1 #E1B353
analogous
#53C8E1 #5381E1 #6C53E1
triadic
#5381E1 #E15381 #81E153
tetradic
#5381E1 #E153C8 #E1B353 #53E16C
square
#5381E1 #E153C8 #E1B353 #53E16C
split-complementary
#5381E1 #E16C53 #C8E153
monochromatic
#1C469E #255DD2 #5381E1 #87A7EA #BBCDF3

Accessibility & contrast

On white

3.75
#5381E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5381E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381E1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381E1#FFFFFF#000000##000000
##5381E11.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#558BE5
Deuteranopia (green-blind)
#3F7EDF
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5381e1;
/* rgb */ color: rgb(83, 129, 225);
/* oklch */ color: oklch(61.7% 0.154 263.3);
Tailwind
colors: {
  custom: {
    50: '#90a5eb',
    500: '#5381e1',
    950: '#000000',
  },
}
SCSS
$custom: #5381e1;
$custom-light: #90a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5381e1",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 225
  },
  "hsl": {
    "h": 220.563,
    "s": 70.297,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61714,
    "c": 0.15397,
    "h": 263.3
  },
  "luminance": 0.22976
}

Semantic roles & 50–950 ramp

primary
#5381E1
secondary
#E3D1AD
accent
#9413D2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5381E1

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

Preview Lab → · Contrast checker → · Palette generator →

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