#5381EC#5381EC

#5381EC is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.4% C 0.169 H 264.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5381EC
RGBrgb(83, 129, 236)
HSLhsl(222, 80%, 63%)
HSVhsv(222, 65%, 93%)
CMYKcmyk(64.8%, 45.3%, 0%, 7.5%)
CIE-LABlab(55.68, 17.90, -58.74)
CIE-LCHlch(55.68, 61.41, 286.95°)
OKLaboklab(62.41% -0.0161 -0.168)
OKLCHoklch(62.41% 0.169 264.5)
XYZxyz(26.5526, 23.5931, 82.4952)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381EC #ECBE53
analogous
#53CDEC #5381EC #7253EC
triadic
#5381EC #EC5381 #81EC53
tetradic
#5381EC #EC53CD #ECBE53 #53EC72
square
#5381EC #EC53CD #ECBE53 #53EC72
split-complementary
#5381EC #EC7253 #CDEC53
monochromatic
#1443B1 #1C59E6 #5381EC #8AA9F2 #C1D2F8

Accessibility & contrast

On white

3.67
#5381EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5381EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381EC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381EC#FFFFFF#000000##000000
##5381EC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF0
Deuteranopia (green-blind)
#307FEA
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5381ec;
/* rgb */ color: rgb(83, 129, 236);
/* oklch */ color: oklch(62.4% 0.169 264.5);
Tailwind
colors: {
  custom: {
    50: '#92a5f3',
    500: '#5381ec',
    950: '#000000',
  },
}
SCSS
$custom: #5381ec;
$custom-light: #92a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5381ec",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 221.961,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62406,
    "c": 0.16876,
    "h": 264.5
  },
  "luminance": 0.23596
}

Semantic roles & 50–950 ramp

primary
#5381EC
secondary
#E9D8B2
accent
#9D09DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5381EC

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

Preview Lab → · Contrast checker → · Palette generator →

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