#4542D5#4542D5

#4542D5 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.3% C 0.217 H 275.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#4542D5
RGBrgb(69, 66, 213)
HSLhsl(241, 64%, 55%)
HSVhsv(241, 69%, 84%)
CMYKcmyk(67.6%, 69%, 0%, 16.5%)
CIE-LABlab(37.78, 46.61, -74.81)
CIE-LCHlch(37.78, 88.14, 301.92°)
OKLaboklab(48.32% 0.0207 -0.2161)
OKLCHoklch(48.32% 0.217 275.5)
XYZxyz(16.4087, 9.9642, 63.9964)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542D5 #D2D542
analogous
#4289D5 #4542D5 #8E42D5
triadic
#4542D5 #D54542 #42D545
tetradic
#4542D5 #D54289 #D2D542 #42D58E
square
#4542D5 #D54289 #D2D542 #42D58E
split-complementary
#4542D5 #D58E42 #89D542
monochromatic
#1F1C80 #2A28B2 #4542D5 #7674E0 #A8A6EB

Accessibility & contrast

On white

7.02
#4542D5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4542D5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4542D5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542D5#FFFFFF#000000##FFFFFF
##4542D51.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)
#005FD9
Deuteranopia (green-blind)
#0052D2
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4542d5;
/* rgb */ color: rgb(69, 66, 213);
/* oklch */ color: oklch(48.3% 0.217 275.5);
Tailwind
colors: {
  custom: {
    50: '#8b77e3',
    500: '#4542d5',
    950: '#000000',
  },
}
SCSS
$custom: #4542d5;
$custom-light: #8b77e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4542d5",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 241.224,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48321,
    "c": 0.21711,
    "h": 275.5
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#4542D5
secondary
#D7D89A
accent
#E741E3
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4542D5

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

Preview Lab → · Contrast checker → · Palette generator →

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