#4542AA#4542AA

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

Color values

HEX#4542AA
RGBrgb(69, 66, 170)
HSLhsl(242, 44%, 46%)
HSVhsv(242, 61%, 67%)
CMYKcmyk(59.4%, 61.2%, 0%, 33.3%)
CIE-LABlab(34.11, 32.40, -55.59)
CIE-LCHlch(34.11, 64.34, 300.24°)
OKLaboklab(44.53% 0.0249 -0.1598)
OKLCHoklch(44.53% 0.162 278.8)
XYZxyz(11.6559, 8.0631, 38.9645)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542AA #A7AA42
analogous
#4273AA #4542AA #7942AA
triadic
#4542AA #AA4542 #42AA45
tetradic
#4542AA #AA4273 #A7AA42 #42AA79
square
#4542AA #AA4273 #A7AA42 #42AA79
split-complementary
#4542AA #AA7942 #73AA42
monochromatic
#212052 #33317E #4542AA #6866C3 #9492D5

Accessibility & contrast

On white

8.04
#4542AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4542AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4542AA#FFFFFF#000000##FFFFFF
##4542AA1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4542aa;
/* rgb */ color: rgb(69, 66, 170);
/* oklch */ color: oklch(44.5% 0.162 278.8);
Tailwind
colors: {
  custom: {
    50: '#8376c4',
    500: '#4542aa',
    950: '#000000',
  },
}
SCSS
$custom: #4542aa;
$custom-light: #8376c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4542aa",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 241.731,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44527,
    "c": 0.16168,
    "h": 278.8
  },
  "luminance": 0.08064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4542AA

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

Preview Lab → · Contrast checker → · Palette generator →

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