#5481B2#5481B2

#5481B2 is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 59.2% C 0.090 H 251.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5481B2
RGBrgb(84, 129, 178)
HSLhsl(211, 38%, 51%)
HSVhsv(211, 53%, 70%)
CMYKcmyk(52.8%, 27.5%, 0%, 30.2%)
CIE-LABlab(52.73, -1.15, -30.58)
CIE-LCHlch(52.73, 30.61, 267.85°)
OKLaboklab(59.15% -0.0287 -0.0857)
OKLCHoklch(59.15% 0.09 251.5)
XYZxyz(19.5395, 20.7982, 45.0956)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5481B2 #B28554
analogous
#54B0B2 #5481B2 #5654B2
triadic
#5481B2 #B25481 #81B254
tetradic
#5481B2 #B254B0 #B28554 #54B256
square
#5481B2 #B254B0 #B28554 #54B256
split-complementary
#5481B2 #B25654 #B0B254
monochromatic
#2B4560 #3E638A #5481B2 #7EA0C5 #A8BFD8

Accessibility & contrast

On white

4.07
#5481B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5481B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5481B2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5481B2#FFFFFF#000000##000000
##5481B21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D83B4
Deuteranopia (green-blind)
#617AB1
Tritanopia (blue-blind)
#218C92
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5481b2;
/* rgb */ color: rgb(84, 129, 178);
/* oklch */ color: oklch(59.2% 0.090 251.5);
Tailwind
colors: {
  custom: {
    50: '#8aa5c9',
    500: '#5481b2',
    950: '#000000',
  },
}
SCSS
$custom: #5481b2;
$custom-light: #8aa5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5481b2",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 178
  },
  "hsl": {
    "h": 211.277,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59153,
    "c": 0.0904,
    "h": 251.5
  },
  "luminance": 0.208
}

Semantic roles & 50–950 ramp

primary
#5481B2
secondary
#C6B29C
accent
#965ACE
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #5481B2

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

Preview Lab → · Contrast checker → · Palette generator →

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