#5442E2#5442E2

#5442E2 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.6% C 0.230 H 279.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5442E2
RGBrgb(84, 66, 226)
HSLhsl(247, 73%, 57%)
HSVhsv(247, 71%, 89%)
CMYKcmyk(62.8%, 70.8%, 0%, 11.4%)
CIE-LABlab(40.03, 52.50, -78.51)
CIE-LCHlch(40.03, 94.45, 303.77°)
OKLaboklab(50.57% 0.0374 -0.2265)
OKLCHoklch(50.57% 0.23 279.4)
XYZxyz(19.3275, 11.2707, 73.0937)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5442E2 #D0E242
analogous
#4280E2 #5442E2 #A442E2
triadic
#5442E2 #E25442 #42E254
tetradic
#5442E2 #E24280 #D0E242 #42E2A4
square
#5442E2 #E24280 #D0E242 #42E2A4
split-complementary
#5442E2 #E2A442 #80E242
monochromatic
#251793 #321FC8 #5442E2 #8477EA #B4ACF2

Accessibility & contrast

On white

6.45
#5442E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5442E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5442E2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5442E2#FFFFFF#000000##FFFFFF
##5442E21.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#0058DF
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5442e2;
/* rgb */ color: rgb(84, 66, 226);
/* oklch */ color: oklch(50.6% 0.230 279.4);
Tailwind
colors: {
  custom: {
    50: '#9479ec',
    500: '#5442e2',
    950: '#000000',
  },
}
SCSS
$custom: #5442e2;
$custom-light: #9479ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5442e2",
  "rgb": {
    "r": 84,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 246.75,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50568,
    "c": 0.2296,
    "h": 279.4
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#5442E2
secondary
#D9E09F
accent
#F038DB
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5442E2

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

Preview Lab → · Contrast checker → · Palette generator →

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