#5481CD#5481CD

#5481CD is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.6% C 0.126 H 260.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5481CD
RGBrgb(84, 129, 205)
HSLhsl(218, 55%, 57%)
HSVhsv(218, 59%, 80%)
CMYKcmyk(59%, 37.1%, 0%, 19.6%)
CIE-LABlab(54.02, 7.60, -43.98)
CIE-LCHlch(54.02, 44.63, 279.81°)
OKLaboklab(60.58% -0.0212 -0.1247)
OKLCHoklch(60.58% 0.126 260.3)
XYZxyz(22.5220, 21.9912, 60.8036)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5481CD #CDA054
analogous
#54BECD #5481CD #6454CD
triadic
#5481CD #CD5481 #81CD54
tetradic
#5481CD #CD54BE #CDA054 #54CD64
square
#5481CD #CD54BE #CDA054 #54CD64
split-complementary
#5481CD #CD6454 #BECD54
monochromatic
#264881 #3462B0 #5481CD #83A4DB #B3C7E9

Accessibility & contrast

On white

3.89
#5481CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5481CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5481CD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5481CD#FFFFFF#000000##000000
##5481CD1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#517CCB
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5481cd;
/* rgb */ color: rgb(84, 129, 205);
/* oklch */ color: oklch(60.6% 0.126 260.3);
Tailwind
colors: {
  custom: {
    50: '#8ea5dc',
    500: '#5481cd',
    950: '#000000',
  },
}
SCSS
$custom: #5481cd;
$custom-light: #8ea5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5481cd",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 217.686,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60583,
    "c": 0.12646,
    "h": 260.3
  },
  "luminance": 0.21993
}

Semantic roles & 50–950 ramp

primary
#5481CD
secondary
#D7C5A6
accent
#A74ADE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5481CD

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

Preview Lab → · Contrast checker → · Palette generator →

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