#5954BC#5954BC

#5954BC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.159 H 281.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5954BC
RGBrgb(89, 84, 188)
HSLhsl(243, 44%, 53%)
HSVhsv(243, 55%, 74%)
CMYKcmyk(52.7%, 55.3%, 0%, 26.3%)
CIE-LABlab(41.37, 30.89, -54.40)
CIE-LCHlch(41.37, 62.56, 299.59°)
OKLaboklab(50.7% 0.031 -0.1556)
OKLCHoklch(50.7% 0.159 281.3)
XYZxyz(16.3645, 12.0944, 49.0394)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5954BC #B7BC54
analogous
#5483BC #5954BC #8D54BC
triadic
#5954BC #BC5954 #54BC59
tetradic
#5954BC #BC5483 #B7BC54 #54BC8D
square
#5954BC #BC5483 #B7BC54 #54BC8D
split-complementary
#5954BC #BC8D54 #83BC54
monochromatic
#2D2A6B #403B97 #5954BC #8480CD #AEACDE

Accessibility & contrast

On white

6.14
#5954BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5954BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5954BC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5954BC#FFFFFF#000000##FFFFFF
##5954BC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1165C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#2F6C80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5954bc;
/* rgb */ color: rgb(89, 84, 188);
/* oklch */ color: oklch(50.7% 0.159 281.3);
Tailwind
colors: {
  custom: {
    50: '#8f84d1',
    500: '#5954bc',
    950: '#000000',
  },
}
SCSS
$custom: #5954bc;
$custom-light: #8f84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5954bc",
  "rgb": {
    "r": 89,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 242.885,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.507,
    "c": 0.15864,
    "h": 281.3
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#5954BC
secondary
#CACCA0
accent
#D354CD
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5954BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5954BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva