#5481E3#5481E3

#5481E3 is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.9% C 0.156 H 263.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5481E3
RGBrgb(84, 129, 227)
HSLhsl(221, 72%, 61%)
HSVhsv(221, 63%, 89%)
CMYKcmyk(63%, 43.2%, 0%, 11%)
CIE-LABlab(55.21, 15.00, -54.48)
CIE-LCHlch(55.21, 56.50, 285.39°)
OKLaboklab(61.89% -0.0167 -0.1554)
OKLCHoklch(61.89% 0.156 263.9)
XYZxyz(25.3667, 23.1291, 75.7857)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5481E3 #E3B654
analogous
#54C8E3 #5481E3 #6E54E3
triadic
#5481E3 #E35481 #81E354
tetradic
#5481E3 #E354C8 #E3B654 #54E36E
square
#5481E3 #E354C8 #E3B654 #54E36E
split-complementary
#5481E3 #E36E54 #C8E354
monochromatic
#1B45A2 #235CD7 #5481E3 #89A8EC #BDCEF4

Accessibility & contrast

On white

3.73
#5481E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5481E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5481E3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5481E3#FFFFFF#000000##000000
##5481E31.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#538BE7
Deuteranopia (green-blind)
#3D7EE1
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5481e3;
/* rgb */ color: rgb(84, 129, 227);
/* oklch */ color: oklch(61.9% 0.156 263.9);
Tailwind
colors: {
  custom: {
    50: '#91a5ec',
    500: '#5481e3',
    950: '#000000',
  },
}
SCSS
$custom: #5481e3;
$custom-light: #91a5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5481e3",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 227
  },
  "hsl": {
    "h": 221.119,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61887,
    "c": 0.15633,
    "h": 263.9
  },
  "luminance": 0.23131
}

Semantic roles & 50–950 ramp

primary
#5481E3
secondary
#E4D3AE
accent
#9712D4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5481E3

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

Preview Lab → · Contrast checker → · Palette generator →

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