#5442EA#5442EA

#5442EA is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.3% C 0.239 H 278.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5442EA
RGBrgb(84, 66, 234)
HSLhsl(246, 80%, 59%)
HSVhsv(246, 72%, 92%)
CMYKcmyk(64.1%, 71.8%, 0%, 8.2%)
CIE-LABlab(40.77, 54.92, -81.85)
CIE-LCHlch(40.77, 98.57, 303.86°)
OKLaboklab(51.31% 0.0359 -0.2363)
OKLCHoklch(51.31% 0.239 278.6)
XYZxyz(20.4509, 11.7201, 79.0104)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5442EA #D8EA42
analogous
#4284EA #5442EA #A842EA
triadic
#5442EA #EA5442 #42EA54
tetradic
#5442EA #EA4284 #D8EA42 #42EAA8
square
#5442EA #EA4284 #D8EA42 #42EAA8
split-complementary
#5442EA #EAA842 #84EA42
monochromatic
#2112A0 #2C18D7 #5442EA #8679F0 #B8B0F6

Accessibility & contrast

On white

6.28
#5442EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5442EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5442EA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5442EA#FFFFFF#000000##FFFFFF
##5442EA1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EF
Deuteranopia (green-blind)
#0059E7
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5442ea;
/* rgb */ color: rgb(84, 66, 234);
/* oklch */ color: oklch(51.3% 0.239 278.6);
Tailwind
colors: {
  custom: {
    50: '#9679f2',
    500: '#5442ea',
    950: '#000000',
  },
}
SCSS
$custom: #5442ea;
$custom-light: #9679f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5442ea",
  "rgb": {
    "r": 84,
    "g": 66,
    "b": 234
  },
  "hsl": {
    "h": 246.429,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.51313,
    "c": 0.239,
    "h": 278.6
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#5442EA
secondary
#DEE5A3
accent
#F631E1
background
#FAF7FF
surface
#F4EDFE
border
#CEC8D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5442EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5442EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva