#4542CD#4542CD

#4542CD is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.6% C 0.207 H 276.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#4542CD
RGBrgb(69, 66, 205)
HSLhsl(241, 58%, 53%)
HSVhsv(241, 68%, 80%)
CMYKcmyk(66.3%, 67.8%, 0%, 19.6%)
CIE-LABlab(37.06, 44.00, -71.37)
CIE-LCHlch(37.06, 83.85, 301.65°)
OKLaboklab(47.58% 0.0218 -0.2061)
OKLCHoklch(47.58% 0.207 276)
XYZxyz(15.4183, 9.5681, 58.7801)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542CD #CACD42
analogous
#4284CD #4542CD #8A42CD
triadic
#4542CD #CD4542 #42CD45
tetradic
#4542CD #CD4284 #CACD42 #42CD8A
square
#4542CD #CD4284 #CACD42 #42CD8A
split-complementary
#4542CD #CD8A42 #84CD42
monochromatic
#211F76 #2F2CA6 #4542CD #7572DA #A4A3E7

Accessibility & contrast

On white

7.21
#4542CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4542CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4542CD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542CD#FFFFFF#000000##FFFFFF
##4542CD1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0051CA
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4542cd;
/* rgb */ color: rgb(69, 66, 205);
/* oklch */ color: oklch(47.6% 0.207 276.0);
Tailwind
colors: {
  custom: {
    50: '#8977dd',
    500: '#4542cd',
    950: '#000000',
  },
}
SCSS
$custom: #4542cd;
$custom-light: #8977dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4542cd",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 241.295,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4758,
    "c": 0.20722,
    "h": 276
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#4542CD
secondary
#D2D397
accent
#E146DE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4542CD

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

Preview Lab → · Contrast checker → · Palette generator →

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