#5481CC#5481CC

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

Color values

HEX#5481CC
RGBrgb(84, 129, 204)
HSLhsl(218, 54%, 56%)
HSVhsv(218, 59%, 80%)
CMYKcmyk(58.8%, 36.8%, 0%, 20%)
CIE-LABlab(53.97, 7.27, -43.49)
CIE-LCHlch(53.97, 44.09, 279.49°)
OKLaboklab(60.53% -0.0215 -0.1232)
OKLCHoklch(60.53% 0.125 260.1)
XYZxyz(22.4017, 21.9431, 60.1699)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5481CC #CC9F54
analogous
#54BDCC #5481CC #6354CC
triadic
#5481CC #CC5481 #81CC54
tetradic
#5481CC #CC54BD #CC9F54 #54CC63
square
#5481CC #CC54BD #CC9F54 #54CC63
split-complementary
#5481CC #CC6354 #BDCC54
monochromatic
#264880 #3462AF #5481CC #83A4DA #B2C6E8

Accessibility & contrast

On white

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

On black

5.39
#5481CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5481CC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5481CC#FFFFFF#000000##000000
##5481CC1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CF
Deuteranopia (green-blind)
#527CCA
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5481cc;
/* rgb */ color: rgb(84, 129, 204);
/* oklch */ color: oklch(60.5% 0.125 260.1);
Tailwind
colors: {
  custom: {
    50: '#8da5dc',
    500: '#5481cc',
    950: '#000000',
  },
}
SCSS
$custom: #5481cc;
$custom-light: #8da5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5481cc",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 217.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.1251,
    "h": 260.1
  },
  "luminance": 0.21945
}

Semantic roles & 50–950 ramp

primary
#5481CC
secondary
#D7C4A5
accent
#A64ADD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5481CC

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

Preview Lab → · Contrast checker → · Palette generator →

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