#4542AB#4542AB

#4542AB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.6% C 0.163 H 278.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4542AB
RGBrgb(69, 66, 171)
HSLhsl(242, 44%, 46%)
HSVhsv(242, 61%, 67%)
CMYKcmyk(59.6%, 61.4%, 0%, 32.9%)
CIE-LABlab(34.19, 32.74, -56.06)
CIE-LCHlch(34.19, 64.92, 300.28°)
OKLaboklab(44.61% 0.0248 -0.1611)
OKLCHoklch(44.61% 0.163 278.8)
XYZxyz(11.7508, 8.1011, 39.4646)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542AB #A8AB42
analogous
#4274AB #4542AB #7A42AB
triadic
#4542AB #AB4542 #42AB45
tetradic
#4542AB #AB4274 #A8AB42 #42AB7A
square
#4542AB #AB4274 #A8AB42 #42AB7A
split-complementary
#4542AB #AB7A42 #74AB42
monochromatic
#212053 #33317F #4542AB #6966C4 #9492D5

Accessibility & contrast

On white

8.01
#4542AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4542AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4542AB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4542AB#FFFFFF#000000##FFFFFF
##4542AB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4542ab;
/* rgb */ color: rgb(69, 66, 171);
/* oklch */ color: oklch(44.6% 0.163 278.8);
Tailwind
colors: {
  custom: {
    50: '#8376c5',
    500: '#4542ab',
    950: '#000000',
  },
}
SCSS
$custom: #4542ab;
$custom-light: #8376c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4542ab",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 241.714,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4461,
    "c": 0.16304,
    "h": 278.8
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#4542AB
secondary
#BFC088
accent
#D454D0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4542AB

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

Preview Lab → · Contrast checker → · Palette generator →

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