#4542D3#4542D3

#4542D3 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.1% C 0.215 H 275.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4542D3
RGBrgb(69, 66, 211)
HSLhsl(241, 62%, 54%)
HSVhsv(241, 69%, 83%)
CMYKcmyk(67.3%, 68.7%, 0%, 17.3%)
CIE-LABlab(37.60, 45.96, -73.96)
CIE-LCHlch(37.60, 87.07, 301.86°)
OKLaboklab(48.13% 0.021 -0.2136)
OKLCHoklch(48.13% 0.215 275.6)
XYZxyz(16.1565, 9.8633, 62.6678)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542D3 #D0D342
analogous
#4288D3 #4542D3 #8D42D3
triadic
#4542D3 #D34542 #42D345
tetradic
#4542D3 #D34288 #D0D342 #42D38D
square
#4542D3 #D34288 #D0D342 #42D38D
split-complementary
#4542D3 #D38D42 #88D342
monochromatic
#1F1D7D #2C29AF #4542D3 #7674DF #A7A5EA

Accessibility & contrast

On white

7.06
#4542D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4542D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4542D3
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542D3#FFFFFF#000000##FFFFFF
##4542D31.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD7
Deuteranopia (green-blind)
#0052D0
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4542d3;
/* rgb */ color: rgb(69, 66, 211);
/* oklch */ color: oklch(48.1% 0.215 275.6);
Tailwind
colors: {
  custom: {
    50: '#8b77e2',
    500: '#4542d3',
    950: '#000000',
  },
}
SCSS
$custom: #4542d3;
$custom-light: #8b77e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4542d3",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 241.241,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48134,
    "c": 0.21465,
    "h": 275.6
  },
  "luminance": 0.09865
}

Semantic roles & 50–950 ramp

primary
#4542D3
secondary
#D6D79A
accent
#E542E2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0915
muted
#7E7B84

Preview Lab

Preview with #4542D3

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

Preview Lab → · Contrast checker → · Palette generator →

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