#4542C5#4542C5

#4542C5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.9% C 0.197 H 276.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#4542C5
RGBrgb(69, 66, 197)
HSLhsl(241, 53%, 52%)
HSVhsv(241, 66%, 77%)
CMYKcmyk(65%, 66.5%, 0%, 22.7%)
CIE-LABlab(36.35, 41.38, -67.88)
CIE-LCHlch(36.35, 79.49, 301.37°)
OKLaboklab(46.85% 0.0227 -0.1958)
OKLCHoklch(46.85% 0.197 276.6)
XYZxyz(14.4772, 9.1916, 53.8237)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542C5 #C2C542
analogous
#4281C5 #4542C5 #8742C5
triadic
#4542C5 #C54542 #42C545
tetradic
#4542C5 #C54281 #C2C542 #42C587
square
#4542C5 #C54281 #C2C542 #42C587
split-complementary
#4542C5 #C58742 #81C542
monochromatic
#23216C #322F9A #4542C5 #7371D3 #A1A0E2

Accessibility & contrast

On white

7.40
#4542C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4542C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4542C5
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542C5#FFFFFF#000000##FFFFFF
##4542C51.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#0050C3
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4542c5;
/* rgb */ color: rgb(69, 66, 197);
/* oklch */ color: oklch(46.9% 0.197 276.6);
Tailwind
colors: {
  custom: {
    50: '#8877d8',
    500: '#4542c5',
    950: '#000000',
  },
}
SCSS
$custom: #4542c5;
$custom-light: #8877d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4542c5",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 241.374,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46854,
    "c": 0.19714,
    "h": 276.6
  },
  "luminance": 0.09193
}

Semantic roles & 50–950 ramp

primary
#4542C5
secondary
#CDCE95
accent
#DC4BD9
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4542C5

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

Preview Lab → · Contrast checker → · Palette generator →

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