#4542CA#4542CA

#4542CA is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.3% C 0.203 H 276.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4542CA
RGBrgb(69, 66, 202)
HSLhsl(241, 56%, 53%)
HSVhsv(241, 67%, 79%)
CMYKcmyk(65.8%, 67.3%, 0%, 20.8%)
CIE-LABlab(36.79, 43.02, -70.07)
CIE-LCHlch(36.79, 82.22, 301.55°)
OKLaboklab(47.31% 0.0221 -0.2023)
OKLCHoklch(47.31% 0.203 276.2)
XYZxyz(15.0596, 9.4246, 56.8912)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542CA #C7CA42
analogous
#4283CA #4542CA #8942CA
triadic
#4542CA #CA4542 #42CA45
tetradic
#4542CA #CA4283 #C7CA42 #42CA89
square
#4542CA #CA4283 #C7CA42 #42CA89
split-complementary
#4542CA #CA8942 #83CA42
monochromatic
#222072 #302DA2 #4542CA #7472D7 #A3A2E5

Accessibility & contrast

On white

7.28
#4542CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4542CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4542CA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542CA#FFFFFF#000000##FFFFFF
##4542CA1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4542ca;
/* rgb */ color: rgb(69, 66, 202);
/* oklch */ color: oklch(47.3% 0.203 276.2);
Tailwind
colors: {
  custom: {
    50: '#8977db',
    500: '#4542ca',
    950: '#000000',
  },
}
SCSS
$custom: #4542ca;
$custom-light: #8977db;
$custom-dark: #000000;
JSON
{
  "hex": "#4542ca",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 241.324,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47306,
    "c": 0.20346,
    "h": 276.2
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#4542CA
secondary
#D0D196
accent
#DF48DC
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4542CA

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

Preview Lab → · Contrast checker → · Palette generator →

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