#5954DE#5954DE

#5954DE is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.3% C 0.204 H 278.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5954DE
RGBrgb(89, 84, 222)
HSLhsl(242, 68%, 60%)
HSVhsv(242, 62%, 87%)
CMYKcmyk(59.9%, 62.2%, 0%, 12.9%)
CIE-LABlab(43.85, 41.72, -69.96)
CIE-LCHlch(43.85, 81.46, 300.81°)
OKLaboklab(53.32% 0.0303 -0.2013)
OKLCHoklch(53.32% 0.204 278.6)
XYZxyz(20.4707, 13.7369, 70.6658)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5954DE #D9DE54
analogous
#5494DE #5954DE #9E54DE
triadic
#5954DE #DE5954 #54DE59
tetradic
#5954DE #DE5494 #D9DE54 #54DE9E
square
#5954DE #DE5494 #D9DE54 #54DE9E
split-complementary
#5954DE #DE9E54 #94DE54
monochromatic
#221E9A #2E28CD #5954DE #8B87E8 #BDBBF2

Accessibility & contrast

On white

5.60
#5954DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5954DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5954DE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5954DE#FFFFFF#000000##FFFFFF
##5954DE1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0062DB
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5954de;
/* rgb */ color: rgb(89, 84, 222);
/* oklch */ color: oklch(53.3% 0.204 278.6);
Tailwind
colors: {
  custom: {
    50: '#9584e9',
    500: '#5954de',
    950: '#000000',
  },
}
SCSS
$custom: #5954de;
$custom-light: #9584e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5954de",
  "rgb": {
    "r": 89,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 242.174,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.53319,
    "c": 0.2036,
    "h": 278.6
  },
  "luminance": 0.13738
}

Semantic roles & 50–950 ramp

primary
#5954DE
secondary
#E0E1AC
accent
#EB3DE4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5954DE

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

Preview Lab → · Contrast checker → · Palette generator →

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