#5481CB#5481CB

#5481CB is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.5% C 0.124 H 259.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5481CB
RGBrgb(84, 129, 203)
HSLhsl(217, 53%, 56%)
HSVhsv(217, 59%, 80%)
CMYKcmyk(58.6%, 36.5%, 0%, 20.4%)
CIE-LABlab(53.92, 6.94, -43.00)
CIE-LCHlch(53.92, 43.56, 279.17°)
OKLaboklab(60.47% -0.0217 -0.1218)
OKLCHoklch(60.47% 0.124 259.9)
XYZxyz(22.2821, 21.8952, 59.5403)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5481CB #CB9E54
analogous
#54BDCB #5481CB #6354CB
triadic
#5481CB #CB5481 #81CB54
tetradic
#5481CB #CB54BD #CB9E54 #54CB63
square
#5481CB #CB54BD #CB9E54 #54CB63
split-complementary
#5481CB #CB6354 #BDCB54
monochromatic
#26487E #3562AD #5481CB #83A4D9 #B2C6E8

Accessibility & contrast

On white

3.90
#5481CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5481CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5481CB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5481CB#FFFFFF#000000##000000
##5481CB1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CE
Deuteranopia (green-blind)
#527CC9
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5481cb;
/* rgb */ color: rgb(84, 129, 203);
/* oklch */ color: oklch(60.5% 0.124 259.9);
Tailwind
colors: {
  custom: {
    50: '#8da5db',
    500: '#5481cb',
    950: '#000000',
  },
}
SCSS
$custom: #5481cb;
$custom-light: #8da5db;
$custom-dark: #000000;
JSON
{
  "hex": "#5481cb",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 217.311,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60471,
    "c": 0.12374,
    "h": 259.9
  },
  "luminance": 0.21897
}

Semantic roles & 50–950 ramp

primary
#5481CB
secondary
#D6C3A5
accent
#A64BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5481CB

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

Preview Lab → · Contrast checker → · Palette generator →

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