#5481E5#5481E5

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

Color values

HEX#5481E5
RGBrgb(84, 129, 229)
HSLhsl(221, 74%, 61%)
HSVhsv(221, 63%, 90%)
CMYKcmyk(63.3%, 43.7%, 0%, 10.2%)
CIE-LABlab(55.32, 15.68, -55.41)
CIE-LCHlch(55.32, 57.59, 285.80°)
OKLaboklab(62.01% -0.0164 -0.1582)
OKLCHoklch(62.01% 0.159 264.1)
XYZxyz(25.6443, 23.2401, 77.2479)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5481E5 #E5B854
analogous
#54CAE5 #5481E5 #7054E5
triadic
#5481E5 #E55481 #81E554
tetradic
#5481E5 #E554CA #E5B854 #54E570
square
#5481E5 #E554CA #E5B854 #54E570
split-complementary
#5481E5 #E57054 #CAE554
monochromatic
#1945A5 #215BDB #5481E5 #89A8ED #BECFF5

Accessibility & contrast

On white

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

On black

5.65
#5481E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5481E5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5481E5#FFFFFF#000000##000000
##5481E51.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.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: #5481e5;
/* rgb */ color: rgb(84, 129, 229);
/* oklch */ color: oklch(62.0% 0.159 264.1);
Tailwind
colors: {
  custom: {
    50: '#91a5ee',
    500: '#5481e5',
    950: '#000000',
  },
}
SCSS
$custom: #5481e5;
$custom-light: #91a5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5481e5",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 229
  },
  "hsl": {
    "h": 221.379,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62011,
    "c": 0.15903,
    "h": 264.1
  },
  "luminance": 0.23242
}

Semantic roles & 50–950 ramp

primary
#5481E5
secondary
#E6D5AF
accent
#9810D6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5481E5

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

Preview Lab → · Contrast checker → · Palette generator →

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