#5481DC#5481DC

#5481DC is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.5% C 0.147 H 263.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5481DC
RGBrgb(84, 129, 220)
HSLhsl(220, 66%, 60%)
HSVhsv(220, 62%, 86%)
CMYKcmyk(61.8%, 41.4%, 0%, 13.7%)
CIE-LABlab(54.81, 12.63, -51.18)
CIE-LCHlch(54.81, 52.71, 283.86°)
OKLaboklab(61.46% -0.018 -0.1457)
OKLCHoklch(61.46% 0.147 263)
XYZxyz(24.4202, 22.7504, 70.8006)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5481DC #DCAF54
analogous
#54C5DC #5481DC #6B54DC
triadic
#5481DC #DC5481 #81DC54
tetradic
#5481DC #DC54C5 #DCAF54 #54DC6B
square
#5481DC #DC54C5 #DCAF54 #54DC6B
split-complementary
#5481DC #DC6B54 #C5DC54
monochromatic
#1F4797 #295ECA #5481DC #87A6E6 #BACCF1

Accessibility & contrast

On white

3.78
#5481DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#5481DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5481DC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5481DC#FFFFFF#000000##000000
##5481DC1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE0
Deuteranopia (green-blind)
#447DDA
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5481dc;
/* rgb */ color: rgb(84, 129, 220);
/* oklch */ color: oklch(61.5% 0.147 263.0);
Tailwind
colors: {
  custom: {
    50: '#90a5e7',
    500: '#5481dc',
    950: '#000000',
  },
}
SCSS
$custom: #5481dc;
$custom-light: #90a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5481dc",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 220.147,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61459,
    "c": 0.14685,
    "h": 263
  },
  "luminance": 0.22753
}

Semantic roles & 50–950 ramp

primary
#5481DC
secondary
#E0CFAC
accent
#B13FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5481DC

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

Preview Lab → · Contrast checker → · Palette generator →

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