#5481CA#5481CA

#5481CA is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.4% C 0.122 H 259.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5481CA
RGBrgb(84, 129, 202)
HSLhsl(217, 53%, 56%)
HSVhsv(217, 58%, 79%)
CMYKcmyk(58.4%, 36.1%, 0%, 20.8%)
CIE-LABlab(53.87, 6.61, -42.52)
CIE-LCHlch(53.87, 43.03, 278.84°)
OKLaboklab(60.42% -0.022 -0.1204)
OKLCHoklch(60.42% 0.122 259.7)
XYZxyz(22.1634, 21.8477, 58.9147)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5481CA #CA9D54
analogous
#54BCCA #5481CA #6254CA
triadic
#5481CA #CA5481 #81CA54
tetradic
#5481CA #CA54BC #CA9D54 #54CA62
square
#5481CA #CA54BC #CA9D54 #54CA62
split-complementary
#5481CA #CA6254 #BCCA54
monochromatic
#27487D #3562AC #5481CA #83A3D8 #B1C6E7

Accessibility & contrast

On white

3.91
#5481CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5481CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5481CA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5481CA#FFFFFF#000000##000000
##5481CA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CD
Deuteranopia (green-blind)
#537CC8
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5481ca;
/* rgb */ color: rgb(84, 129, 202);
/* oklch */ color: oklch(60.4% 0.122 259.7);
Tailwind
colors: {
  custom: {
    50: '#8da5da',
    500: '#5481ca',
    950: '#000000',
  },
}
SCSS
$custom: #5481ca;
$custom-light: #8da5da;
$custom-dark: #000000;
JSON
{
  "hex": "#5481ca",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 217.119,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60415,
    "c": 0.12238,
    "h": 259.7
  },
  "luminance": 0.2185
}

Semantic roles & 50–950 ramp

primary
#5481CA
secondary
#D5C3A5
accent
#A54CDC
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5481CA

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

Preview Lab → · Contrast checker → · Palette generator →

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