#5481C8#5481C8

#5481C8 is a mid, moderate blue. Relative luminance 0.218; OKLCH L 60.3% C 0.120 H 259.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5481C8
RGBrgb(84, 129, 200)
HSLhsl(217, 51%, 56%)
HSVhsv(217, 58%, 78%)
CMYKcmyk(58%, 35.5%, 0%, 21.6%)
CIE-LABlab(53.76, 5.95, -41.54)
CIE-LCHlch(53.76, 41.96, 278.15°)
OKLaboklab(60.3% -0.0224 -0.1175)
OKLCHoklch(60.3% 0.12 259.2)
XYZxyz(21.9281, 21.7536, 57.6757)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5481C8 #C89B54
analogous
#54BBC8 #5481C8 #6154C8
triadic
#5481C8 #C85481 #81C854
tetradic
#5481C8 #C854BB #C89B54 #54C861
square
#5481C8 #C854BB #C89B54 #54C861
split-complementary
#5481C8 #C86154 #BBC854
monochromatic
#27487A #3663A9 #5481C8 #82A3D7 #B1C5E6

Accessibility & contrast

On white

3.92
#5481C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5481C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5481C8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5481C8#FFFFFF#000000##000000
##5481C81.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6486CB
Deuteranopia (green-blind)
#557CC7
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5481c8;
/* rgb */ color: rgb(84, 129, 200);
/* oklch */ color: oklch(60.3% 0.120 259.2);
Tailwind
colors: {
  custom: {
    50: '#8da5d9',
    500: '#5481c8',
    950: '#000000',
  },
}
SCSS
$custom: #5481c8;
$custom-light: #8da5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5481c8",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 200
  },
  "hsl": {
    "h": 216.724,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60304,
    "c": 0.11966,
    "h": 259.2
  },
  "luminance": 0.21755
}

Semantic roles & 50–950 ramp

primary
#5481C8
secondary
#D4C1A4
accent
#A44DDB
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5481C8

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

Preview Lab → · Contrast checker → · Palette generator →

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