#4542C6#4542C6

#4542C6 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.9% C 0.198 H 276.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#4542C6
RGBrgb(69, 66, 198)
HSLhsl(241, 54%, 52%)
HSVhsv(241, 67%, 78%)
CMYKcmyk(65.2%, 66.7%, 0%, 22.4%)
CIE-LABlab(36.44, 41.71, -68.32)
CIE-LCHlch(36.44, 80.04, 301.40°)
OKLaboklab(46.94% 0.0226 -0.1971)
OKLCHoklch(46.94% 0.198 276.5)
XYZxyz(14.5922, 9.2376, 54.4292)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542C6 #C3C642
analogous
#4281C6 #4542C6 #8742C6
triadic
#4542C6 #C64542 #42C645
tetradic
#4542C6 #C64281 #C3C642 #42C687
square
#4542C6 #C64281 #C3C642 #42C687
split-complementary
#4542C6 #C68742 #81C642
monochromatic
#23216D #312F9C #4542C6 #7371D4 #A2A0E2

Accessibility & contrast

On white

7.37
#4542C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4542C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4542C6
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542C6#FFFFFF#000000##FFFFFF
##4542C61.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#0050C3
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4542c6;
/* rgb */ color: rgb(69, 66, 198);
/* oklch */ color: oklch(46.9% 0.198 276.5);
Tailwind
colors: {
  custom: {
    50: '#8877d8',
    500: '#4542c6',
    950: '#000000',
  },
}
SCSS
$custom: #4542c6;
$custom-light: #8877d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4542c6",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 241.364,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.46944,
    "c": 0.19841,
    "h": 276.5
  },
  "luminance": 0.09239
}

Semantic roles & 50–950 ramp

primary
#4542C6
secondary
#CECF95
accent
#DD4BDA
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4542C6

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

Preview Lab → · Contrast checker → · Palette generator →

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