#5954E6#5954E6

#5954E6 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.0% C 0.214 H 278.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5954E6
RGBrgb(89, 84, 230)
HSLhsl(242, 74%, 62%)
HSVhsv(242, 63%, 90%)
CMYKcmyk(61.3%, 63.5%, 0%, 9.8%)
CIE-LABlab(44.48, 44.27, -73.48)
CIE-LCHlch(44.48, 85.78, 301.07°)
OKLaboklab(53.98% 0.0297 -0.2116)
OKLCHoklch(53.98% 0.214 278)
XYZxyz(21.5685, 14.1760, 76.4472)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5954E6 #E1E654
analogous
#5498E6 #5954E6 #A254E6
triadic
#5954E6 #E65954 #54E659
tetradic
#5954E6 #E65498 #E1E654 #54E6A2
square
#5954E6 #E65498 #E1E654 #54E6A2
split-complementary
#5954E6 #E6A254 #98E654
monochromatic
#1D18A7 #2720DD #5954E6 #8D89EE #C1BFF6

Accessibility & contrast

On white

5.48
#5954E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5954E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5954E6
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5954E6#FFFFFF#000000##FFFFFF
##5954E61.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5954e6;
/* rgb */ color: rgb(89, 84, 230);
/* oklch */ color: oklch(54.0% 0.214 278.0);
Tailwind
colors: {
  custom: {
    50: '#9685ef',
    500: '#5954e6',
    950: '#000000',
  },
}
SCSS
$custom: #5954e6;
$custom-light: #9685ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5954e6",
  "rgb": {
    "r": 89,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 242.055,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53976,
    "c": 0.21371,
    "h": 278
  },
  "luminance": 0.14178
}

Semantic roles & 50–950 ramp

primary
#5954E6
secondary
#E4E6B0
accent
#D70FD0
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5954E6

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

Preview Lab → · Contrast checker → · Palette generator →

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