#5481E2#5481E2

#5481E2 is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.8% C 0.155 H 263.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5481E2
RGBrgb(84, 129, 226)
HSLhsl(221, 71%, 61%)
HSVhsv(221, 63%, 89%)
CMYKcmyk(62.8%, 42.9%, 0%, 11.4%)
CIE-LABlab(55.15, 14.66, -54.01)
CIE-LCHlch(55.15, 55.96, 285.19°)
OKLaboklab(61.83% -0.0169 -0.154)
OKLCHoklch(61.83% 0.155 263.7)
XYZxyz(25.2291, 23.0740, 75.0609)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5481E2 #E2B554
analogous
#54C8E2 #5481E2 #6E54E2
triadic
#5481E2 #E25481 #81E254
tetradic
#5481E2 #E254C8 #E2B554 #54E26E
square
#5481E2 #E254C8 #E2B554 #54E26E
split-complementary
#5481E2 #E26E54 #C8E254
monochromatic
#1B45A0 #245CD5 #5481E2 #88A8EB #BDCEF4

Accessibility & contrast

On white

3.74
#5481E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#5481E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5481E2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5481E2#FFFFFF#000000##000000
##5481E21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#548BE6
Deuteranopia (green-blind)
#3E7EE0
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5481e2;
/* rgb */ color: rgb(84, 129, 226);
/* oklch */ color: oklch(61.8% 0.155 263.7);
Tailwind
colors: {
  custom: {
    50: '#91a5eb',
    500: '#5481e2',
    950: '#000000',
  },
}
SCSS
$custom: #5481e2;
$custom-light: #91a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5481e2",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 220.986,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61825,
    "c": 0.15497,
    "h": 263.7
  },
  "luminance": 0.23076
}

Semantic roles & 50–950 ramp

primary
#5481E2
secondary
#E4D3AE
accent
#9612D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5481E2

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

Preview Lab → · Contrast checker → · Palette generator →

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