#5381F2#5381F2

#5381F2 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.8% C 0.177 H 265.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5381F2
RGBrgb(83, 129, 242)
HSLhsl(223, 86%, 64%)
HSVhsv(223, 66%, 95%)
CMYKcmyk(65.7%, 46.7%, 0%, 5.1%)
CIE-LABlab(56.04, 19.96, -61.51)
CIE-LCHlch(56.04, 64.66, 287.98°)
OKLaboklab(62.79% -0.0152 -0.1761)
OKLCHoklch(62.79% 0.177 265.1)
XYZxyz(27.4390, 23.9477, 87.1635)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381F2 #F2C453
analogous
#53D0F2 #5381F2 #7453F2
triadic
#5381F2 #F25381 #81F253
tetradic
#5381F2 #F253D0 #F2C453 #53F274
square
#5381F2 #F253D0 #F2C453 #53F274
split-complementary
#5381F2 #F27453 #D0F253
monochromatic
#0E41BC #1A57EE #5381F2 #8CABF6 #C5D4FB

Accessibility & contrast

On white

3.63
#5381F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5381F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381F2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381F2#FFFFFF#000000##000000
##5381F21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#257FF0
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5381f2;
/* rgb */ color: rgb(83, 129, 242);
/* oklch */ color: oklch(62.8% 0.177 265.1);
Tailwind
colors: {
  custom: {
    50: '#93a5f7',
    500: '#5381f2',
    950: '#000000',
  },
}
SCSS
$custom: #5381f2;
$custom-light: #93a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5381f2",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 222.642,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62794,
    "c": 0.17677,
    "h": 265.1
  },
  "luminance": 0.2395
}

Semantic roles & 50–950 ramp

primary
#5381F2
secondary
#ECDCB4
accent
#A203E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5381F2

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

Preview Lab → · Contrast checker → · Palette generator →

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