#5F549A#5F549A

#5F549A is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.9% C 0.110 H 288.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5F549A
RGBrgb(95, 84, 154)
HSLhsl(249, 29%, 47%)
HSVhsv(249, 45%, 60%)
CMYKcmyk(38.3%, 45.5%, 0%, 39.6%)
CIE-LABlab(39.76, 21.95, -36.82)
CIE-LCHlch(39.76, 42.86, 300.80°)
OKLaboklab(48.94% 0.0355 -0.1038)
OKLCHoklch(48.94% 0.11 288.9)
XYZxyz(13.7208, 11.1062, 31.9864)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F549A #8F9A54
analogous
#546C9A #5F549A #82549A
triadic
#5F549A #9A5F54 #549A5F
tetradic
#5F549A #9A546C #8F9A54 #549A82
square
#5F549A #9A546C #8F9A54 #549A82
split-complementary
#5F549A #9A8254 #6C9A54
monochromatic
#2E294B #473E72 #5F549A #8077B5 #A59ECA

Accessibility & contrast

On white

6.52
#5F549A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5F549A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F549A
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F549A#FFFFFF#000000##FFFFFF
##5F549A1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5F9D
Deuteranopia (green-blind)
#3C5C98
Tritanopia (blue-blind)
#4F626F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5f549a;
/* rgb */ color: rgb(95, 84, 154);
/* oklch */ color: oklch(48.9% 0.110 288.9);
Tailwind
colors: {
  custom: {
    50: '#8f84b8',
    500: '#5f549a',
    950: '#000000',
  },
}
SCSS
$custom: #5f549a;
$custom-light: #8f84b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f549a",
  "rgb": {
    "r": 95,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 249.429,
    "s": 29.412,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48941,
    "c": 0.10971,
    "h": 288.9
  },
  "luminance": 0.11107
}

Semantic roles & 50–950 ramp

primary
#5F549A
secondary
#B2B792
accent
#C662B6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0D0B11
muted
#7D7C80

Preview Lab

Preview with #5F549A

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

Preview Lab → · Contrast checker → · Palette generator →

#5F549A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva