#5481CF#5481CF

#5481CF is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.7% C 0.129 H 260.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5481CF
RGBrgb(84, 129, 207)
HSLhsl(218, 56%, 57%)
HSVhsv(218, 59%, 81%)
CMYKcmyk(59.4%, 37.7%, 0%, 18.8%)
CIE-LABlab(54.12, 8.27, -44.95)
CIE-LCHlch(54.12, 45.70, 280.42°)
OKLaboklab(60.7% -0.0208 -0.1275)
OKLCHoklch(60.7% 0.129 260.7)
XYZxyz(22.7650, 22.0884, 62.0832)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5481CF #CFA254
analogous
#54BECF #5481CF #6554CF
triadic
#5481CF #CF5481 #81CF54
tetradic
#5481CF #CF54BE #CFA254 #54CF65
square
#5481CF #CF54BE #CFA254 #54CF65
split-complementary
#5481CF #CF6554 #BECF54
monochromatic
#254884 #3262B3 #5481CF #84A4DC #B4C7EA

Accessibility & contrast

On white

3.88
#5481CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5481CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5481CF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5481CF#FFFFFF#000000##000000
##5481CF1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6088D2
Deuteranopia (green-blind)
#507CCD
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5481cf;
/* rgb */ color: rgb(84, 129, 207);
/* oklch */ color: oklch(60.7% 0.129 260.7);
Tailwind
colors: {
  custom: {
    50: '#8ea5de',
    500: '#5481cf',
    950: '#000000',
  },
}
SCSS
$custom: #5481cf;
$custom-light: #8ea5de;
$custom-dark: #000000;
JSON
{
  "hex": "#5481cf",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 218.049,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60697,
    "c": 0.12917,
    "h": 260.7
  },
  "luminance": 0.2209
}

Semantic roles & 50–950 ramp

primary
#5481CF
secondary
#D8C6A6
accent
#A848DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5481CF

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

Preview Lab → · Contrast checker → · Palette generator →

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