#4542C4#4542C4

#4542C4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.8% C 0.196 H 276.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#4542C4
RGBrgb(69, 66, 196)
HSLhsl(241, 52%, 51%)
HSVhsv(241, 66%, 77%)
CMYKcmyk(64.8%, 66.3%, 0%, 23.1%)
CIE-LABlab(36.26, 41.05, -67.44)
CIE-LCHlch(36.26, 78.95, 301.33°)
OKLaboklab(46.76% 0.0228 -0.1945)
OKLCHoklch(46.76% 0.196 276.7)
XYZxyz(14.3630, 9.1460, 53.2223)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542C4 #C1C442
analogous
#4280C4 #4542C4 #8642C4
triadic
#4542C4 #C44542 #42C445
tetradic
#4542C4 #C44280 #C1C442 #42C486
square
#4542C4 #C44280 #C1C442 #42C486
split-complementary
#4542C4 #C48642 #80C442
monochromatic
#23216A #323099 #4542C4 #7371D3 #A19FE1

Accessibility & contrast

On white

7.42
#4542C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4542C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4542C4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542C4#FFFFFF#000000##FFFFFF
##4542C41.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#0050C2
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4542c4;
/* rgb */ color: rgb(69, 66, 196);
/* oklch */ color: oklch(46.8% 0.196 276.7);
Tailwind
colors: {
  custom: {
    50: '#8877d7',
    500: '#4542c4',
    950: '#000000',
  },
}
SCSS
$custom: #4542c4;
$custom-light: #8877d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4542c4",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 196
  },
  "hsl": {
    "h": 241.385,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46764,
    "c": 0.19588,
    "h": 276.7
  },
  "luminance": 0.09147
}

Semantic roles & 50–950 ramp

primary
#4542C4
secondary
#CCCE94
accent
#DC4CD9
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4542C4

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

Preview Lab → · Contrast checker → · Palette generator →

#4542C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva