#5F549D#5F549D

#5F549D is a mid, moderate blue. Relative luminance 0.112; OKLCH L 49.1% C 0.114 H 288.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5F549D
RGBrgb(95, 84, 157)
HSLhsl(249, 30%, 47%)
HSVhsv(249, 46%, 62%)
CMYKcmyk(39.5%, 46.5%, 0%, 38.4%)
CIE-LABlab(39.93, 22.83, -38.35)
CIE-LCHlch(39.93, 44.63, 300.76°)
OKLaboklab(49.12% 0.036 -0.1083)
OKLCHoklch(49.12% 0.114 288.4)
XYZxyz(13.9738, 11.2074, 33.3187)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F549D #929D54
analogous
#546E9D #5F549D #83549D
triadic
#5F549D #9D5F54 #549D5F
tetradic
#5F549D #9D546E #929D54 #549D83
square
#5F549D #9D546E #929D54 #549D83
split-complementary
#5F549D #9D8354 #6E9D54
monochromatic
#2F294D #473F75 #5F549D #8178B7 #A69FCC

Accessibility & contrast

On white

6.48
#5F549D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5F549D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F549D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F549D#FFFFFF#000000##FFFFFF
##5F549D1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A0
Deuteranopia (green-blind)
#395C9B
Tritanopia (blue-blind)
#4E6271
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5f549d;
/* rgb */ color: rgb(95, 84, 157);
/* oklch */ color: oklch(49.1% 0.114 288.4);
Tailwind
colors: {
  custom: {
    50: '#8f84ba',
    500: '#5f549d',
    950: '#000000',
  },
}
SCSS
$custom: #5f549d;
$custom-light: #8f84ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5f549d",
  "rgb": {
    "r": 95,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 249.041,
    "s": 30.29,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49123,
    "c": 0.11409,
    "h": 288.4
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#5F549D
secondary
#B4B994
accent
#C761B7
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #5F549D

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

Preview Lab → · Contrast checker → · Palette generator →

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