#5381EF#5381EF

#5381EF is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.6% C 0.173 H 264.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5381EF
RGBrgb(83, 129, 239)
HSLhsl(222, 83%, 63%)
HSVhsv(222, 65%, 94%)
CMYKcmyk(65.3%, 46%, 0%, 6.3%)
CIE-LABlab(55.86, 18.93, -60.13)
CIE-LCHlch(55.86, 63.04, 287.47°)
OKLaboklab(62.6% -0.0157 -0.1721)
OKLCHoklch(62.6% 0.173 264.8)
XYZxyz(26.9921, 23.7689, 84.8100)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5381EF #EFC153
analogous
#53CFEF #5381EF #7353EF
triadic
#5381EF #EF5381 #81EF53
tetradic
#5381EF #EF53CF #EFC153 #53EF73
square
#5381EF #EF53CF #EFC153 #53EF73
split-complementary
#5381EF #EF7353 #CFEF53
monochromatic
#1142B7 #1B58EA #5381EF #8BAAF4 #C3D3F9

Accessibility & contrast

On white

3.65
#5381EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5381EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5381EF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5381EF#FFFFFF#000000##000000
##5381EF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#2B7FED
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5381ef;
/* rgb */ color: rgb(83, 129, 239);
/* oklch */ color: oklch(62.6% 0.173 264.8);
Tailwind
colors: {
  custom: {
    50: '#92a5f5',
    500: '#5381ef',
    950: '#000000',
  },
}
SCSS
$custom: #5381ef;
$custom-light: #92a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5381ef",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 222.308,
    "s": 82.979,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62599,
    "c": 0.17277,
    "h": 264.8
  },
  "luminance": 0.23772
}

Semantic roles & 50–950 ramp

primary
#5381EF
secondary
#EBDAB3
accent
#9F06DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5381EF

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

Preview Lab → · Contrast checker → · Palette generator →

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