#5949E4#5949E4

#5949E4 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.1% C 0.224 H 279.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5949E4
RGBrgb(89, 73, 228)
HSLhsl(246, 74%, 59%)
HSVhsv(246, 68%, 89%)
CMYKcmyk(61%, 68%, 0%, 10.6%)
CIE-LABlab(41.98, 49.94, -76.43)
CIE-LCHlch(41.98, 91.30, 303.16°)
OKLaboklab(52.11% 0.0385 -0.2203)
OKLCHoklch(52.11% 0.224 279.9)
XYZxyz(20.5015, 12.4888, 74.7140)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949E4 #D4E449
analogous
#4986E4 #5949E4 #A749E4
triadic
#5949E4 #E45949 #49E459
tetradic
#5949E4 #E44986 #D4E449 #49E4A7
square
#5949E4 #E44986 #D4E449 #49E4A7
split-complementary
#5949E4 #E4A749 #86E449
monochromatic
#25179C #311FD1 #5949E4 #8A7EEC #BAB4F4

Accessibility & contrast

On white

6.00
#5949E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5949E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949E4
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949E4#FFFFFF#000000##FFFFFF
##5949E41.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005DE1
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5949e4;
/* rgb */ color: rgb(89, 73, 228);
/* oklch */ color: oklch(52.1% 0.224 279.9);
Tailwind
colors: {
  custom: {
    50: '#977dee',
    500: '#5949e4',
    950: '#000000',
  },
}
SCSS
$custom: #5949e4;
$custom-light: #977dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5949e4",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 246.194,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52114,
    "c": 0.22368,
    "h": 279.9
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#5949E4
secondary
#DDE3A6
accent
#F137DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5949E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5949E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva