#5954DD#5954DD

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

Color values

HEX#5954DD
RGBrgb(89, 84, 221)
HSLhsl(242, 67%, 60%)
HSVhsv(242, 62%, 87%)
CMYKcmyk(59.7%, 62%, 0%, 13.3%)
CIE-LABlab(43.78, 41.40, -69.52)
CIE-LCHlch(43.78, 80.92, 300.78°)
OKLaboklab(53.24% 0.0304 -0.2)
OKLCHoklch(53.24% 0.202 278.6)
XYZxyz(20.3371, 13.6834, 69.9621)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5954DD #D8DD54
analogous
#5493DD #5954DD #9E54DD
triadic
#5954DD #DD5954 #54DD59
tetradic
#5954DD #DD5493 #D8DD54 #54DD9E
square
#5954DD #DD5493 #D8DD54 #54DD9E
split-complementary
#5954DD #DD9E54 #93DD54
monochromatic
#231E98 #2E28CB #5954DD #8B87E7 #BCBAF1

Accessibility & contrast

On white

5.62
#5954DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5954DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5954DD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5954DD#FFFFFF#000000##FFFFFF
##5954DD1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0062DA
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5954dd;
/* rgb */ color: rgb(89, 84, 221);
/* oklch */ color: oklch(53.2% 0.202 278.6);
Tailwind
colors: {
  custom: {
    50: '#9584e9',
    500: '#5954dd',
    950: '#000000',
  },
}
SCSS
$custom: #5954dd;
$custom-light: #9584e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5954dd",
  "rgb": {
    "r": 89,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 242.19,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53237,
    "c": 0.20233,
    "h": 278.6
  },
  "luminance": 0.13685
}

Semantic roles & 50–950 ramp

primary
#5954DD
secondary
#DFE1AC
accent
#EA3EE3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5954DD

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

Preview Lab → · Contrast checker → · Palette generator →

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