#4542C8#4542C8

#4542C8 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.1% C 0.201 H 276.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4542C8
RGBrgb(69, 66, 200)
HSLhsl(241, 55%, 52%)
HSVhsv(241, 67%, 78%)
CMYKcmyk(65.5%, 67%, 0%, 21.6%)
CIE-LABlab(36.61, 42.36, -69.20)
CIE-LCHlch(36.61, 81.13, 301.48°)
OKLaboklab(47.13% 0.0224 -0.1997)
OKLCHoklch(47.13% 0.201 276.4)
XYZxyz(14.8244, 9.3305, 55.6521)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542C8 #C5C842
analogous
#4282C8 #4542C8 #8842C8
triadic
#4542C8 #C84542 #42C845
tetradic
#4542C8 #C84282 #C5C842 #42C888
square
#4542C8 #C84282 #C5C842 #42C888
split-complementary
#4542C8 #C88842 #82C842
monochromatic
#22206F #312E9F #4542C8 #7471D6 #A2A1E4

Accessibility & contrast

On white

7.33
#4542C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4542C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4542C8
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542C8#FFFFFF#000000##FFFFFF
##4542C81.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4542c8;
/* rgb */ color: rgb(69, 66, 200);
/* oklch */ color: oklch(47.1% 0.201 276.4);
Tailwind
colors: {
  custom: {
    50: '#8877da',
    500: '#4542c8',
    950: '#000000',
  },
}
SCSS
$custom: #4542c8;
$custom-light: #8877da;
$custom-dark: #000000;
JSON
{
  "hex": "#4542c8",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 241.343,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47125,
    "c": 0.20094,
    "h": 276.4
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#4542C8
secondary
#CFD096
accent
#DE4ADB
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4542C8

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

Preview Lab → · Contrast checker → · Palette generator →

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