#5481D8#5481D8

#5481D8 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.2% C 0.141 H 262.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5481D8
RGBrgb(84, 129, 216)
HSLhsl(220, 63%, 59%)
HSVhsv(220, 61%, 85%)
CMYKcmyk(61.1%, 40.3%, 0%, 15.3%)
CIE-LABlab(54.60, 11.28, -49.27)
CIE-LCHlch(54.60, 50.55, 282.90°)
OKLaboklab(61.22% -0.0188 -0.1402)
OKLCHoklch(61.22% 0.141 262.4)
XYZxyz(23.8968, 22.5411, 68.0440)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5481D8 #D8AB54
analogous
#54C3D8 #5481D8 #6954D8
triadic
#5481D8 #D85481 #81D854
tetradic
#5481D8 #D854C3 #D8AB54 #54D869
square
#5481D8 #D854C3 #D8AB54 #54D869
split-complementary
#5481D8 #D86954 #C3D854
monochromatic
#214791 #2C60C2 #5481D8 #86A6E3 #B8CAEF

Accessibility & contrast

On white

3.81
#5481D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5481D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5481D8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5481D8#FFFFFF#000000##000000
##5481D81.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B89DB
Deuteranopia (green-blind)
#487DD6
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5481d8;
/* rgb */ color: rgb(84, 129, 216);
/* oklch */ color: oklch(61.2% 0.141 262.4);
Tailwind
colors: {
  custom: {
    50: '#8fa5e4',
    500: '#5481d8',
    950: '#000000',
  },
}
SCSS
$custom: #5481d8;
$custom-light: #8fa5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5481d8",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 216
  },
  "hsl": {
    "h": 219.545,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.6122,
    "c": 0.14142,
    "h": 262.4
  },
  "luminance": 0.22543
}

Semantic roles & 50–950 ramp

primary
#5481D8
secondary
#DECCAA
accent
#AE42E6
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5481D8

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

Preview Lab → · Contrast checker → · Palette generator →

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