#5442C8#5442C8

#5442C8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.2% C 0.198 H 282.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5442C8
RGBrgb(84, 66, 200)
HSLhsl(248, 55%, 52%)
HSVhsv(248, 67%, 78%)
CMYKcmyk(58%, 67%, 0%, 21.6%)
CIE-LABlab(37.75, 44.54, -67.28)
CIE-LCHlch(37.75, 80.69, 303.50°)
OKLaboklab(48.24% 0.0416 -0.1937)
OKLCHoklch(48.24% 0.198 282.1)
XYZxyz(16.0265, 9.9503, 55.7085)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5442C8 #B6C842
analogous
#4273C8 #5442C8 #9742C8
triadic
#5442C8 #C85442 #42C854
tetradic
#5442C8 #C84273 #B6C842 #42C897
square
#5442C8 #C84273 #B6C842 #42C897
split-complementary
#5442C8 #C89742 #73C842
monochromatic
#2B206F #3D2E9F #5442C8 #7F71D6 #AAA1E4

Accessibility & contrast

On white

7.02
#5442C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5442C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5442C8
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5442C8#FFFFFF#000000##FFFFFF
##5442C81.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#0D657F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5442c8;
/* rgb */ color: rgb(84, 66, 200);
/* oklch */ color: oklch(48.2% 0.198 282.1);
Tailwind
colors: {
  custom: {
    50: '#9078da',
    500: '#5442c8',
    950: '#000000',
  },
}
SCSS
$custom: #5442c8;
$custom-light: #9078da;
$custom-dark: #000000;
JSON
{
  "hex": "#5442c8",
  "rgb": {
    "r": 84,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 248.06,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48237,
    "c": 0.19807,
    "h": 282.1
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#5442C8
secondary
#C8D096
accent
#DE4ACA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5442C8

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

Preview Lab → · Contrast checker → · Palette generator →

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