#5481D2#5481D2

#5481D2 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.9% C 0.133 H 261.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5481D2
RGBrgb(84, 129, 210)
HSLhsl(219, 58%, 58%)
HSVhsv(219, 60%, 82%)
CMYKcmyk(60%, 38.6%, 0%, 17.6%)
CIE-LABlab(54.28, 9.27, -46.40)
CIE-LCHlch(54.28, 47.31, 281.30°)
OKLaboklab(60.87% -0.0201 -0.1317)
OKLCHoklch(60.87% 0.133 261.3)
XYZxyz(23.1352, 22.2365, 64.0332)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5481D2 #D2A554
analogous
#54C0D2 #5481D2 #6654D2
triadic
#5481D2 #D25481 #81D254
tetradic
#5481D2 #D254C0 #D2A554 #54D266
square
#5481D2 #D254C0 #D2A554 #54D266
split-complementary
#5481D2 #D26654 #C0D254
monochromatic
#244888 #3161B8 #5481D2 #84A5DF #B5C8EB

Accessibility & contrast

On white

3.85
#5481D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5481D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5481D2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5481D2#FFFFFF#000000##000000
##5481D21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E88D5
Deuteranopia (green-blind)
#4D7CD0
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5481d2;
/* rgb */ color: rgb(84, 129, 210);
/* oklch */ color: oklch(60.9% 0.133 261.3);
Tailwind
colors: {
  custom: {
    50: '#8ea5e0',
    500: '#5481d2',
    950: '#000000',
  },
}
SCSS
$custom: #5481d2;
$custom-light: #8ea5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5481d2",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 210
  },
  "hsl": {
    "h": 218.571,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60869,
    "c": 0.13325,
    "h": 261.3
  },
  "luminance": 0.22238
}

Semantic roles & 50–950 ramp

primary
#5481D2
secondary
#DAC8A8
accent
#AA46E2
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5481D2

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

Preview Lab → · Contrast checker → · Palette generator →

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