#5954FF#5954FF

#5954FF is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 56.1% C 0.244 H 276.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5954FF
RGBrgb(89, 84, 255)
HSLhsl(242, 100%, 66%)
HSVhsv(242, 67%, 100%)
CMYKcmyk(65.1%, 67.1%, 0%, 0%)
CIE-LABlab(46.55, 52.15, -84.11)
CIE-LCHlch(46.55, 98.97, 301.80°)
OKLaboklab(56.11% 0.0271 -0.2428)
OKLCHoklch(56.11% 0.244 276.4)
XYZxyz(25.3342, 15.6823, 96.2803)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5954FF #FAFF54
analogous
#54A5FF #5954FF #AE54FF
triadic
#5954FF #FF5954 #54FF59
tetradic
#5954FF #FF54A5 #FAFF54 #54FFAE
square
#5954FF #FF54A5 #FAFF54 #54FFAE
split-complementary
#5954FF #FFAE54 #A5FF54
monochromatic
#0600D9 #1E17FF #5954FF #9491FF #D0CEFF

Accessibility & contrast

On white

5.08
#5954FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5954FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5954FF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5954FF#FFFFFF#000000##FFFFFF
##5954FF1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#0082A3
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5954ff;
/* rgb */ color: rgb(89, 84, 255);
/* oklch */ color: oklch(56.1% 0.244 276.4);
Tailwind
colors: {
  custom: {
    50: '#9b85ff',
    500: '#5954ff',
    950: '#000000',
  },
}
SCSS
$custom: #5954ff;
$custom-light: #9b85ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5954ff",
  "rgb": {
    "r": 89,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 241.754,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.24432,
    "h": 276.4
  },
  "luminance": 0.15684
}

Semantic roles & 50–950 ramp

primary
#5954FF
secondary
#F1F3BC
accent
#E600DF
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5954FF

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

Preview Lab → · Contrast checker → · Palette generator →

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