#4542BB#4542BB

#4542BB is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.0% C 0.184 H 277.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4542BB
RGBrgb(69, 66, 187)
HSLhsl(241, 48%, 50%)
HSVhsv(241, 65%, 73%)
CMYKcmyk(63.1%, 64.7%, 0%, 26.7%)
CIE-LABlab(35.50, 38.07, -63.42)
CIE-LCHlch(35.50, 73.97, 300.98°)
OKLaboklab(45.97% 0.0237 -0.1827)
OKLCHoklch(45.97% 0.184 277.4)
XYZxyz(13.3692, 8.7484, 47.9882)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542BB #B8BB42
analogous
#427BBB #4542BB #8242BB
triadic
#4542BB #BB4542 #42BB45
tetradic
#4542BB #BB427B #B8BB42 #42BB82
square
#4542BB #BB427B #B8BB42 #42BB82
split-complementary
#4542BB #BB8242 #7BBB42
monochromatic
#242261 #34328E #4542BB #716ECC #9D9CDC

Accessibility & contrast

On white

7.64
#4542BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4542BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4542BB#FFFFFF#000000##FFFFFF
##4542BB1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4542bb;
/* rgb */ color: rgb(69, 66, 187);
/* oklch */ color: oklch(46.0% 0.184 277.4);
Tailwind
colors: {
  custom: {
    50: '#8677d0',
    500: '#4542bb',
    950: '#000000',
  },
}
SCSS
$custom: #4542bb;
$custom-light: #8677d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4542bb",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 241.488,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45969,
    "c": 0.18428,
    "h": 277.4
  },
  "luminance": 0.08749
}

Semantic roles & 50–950 ramp

primary
#4542BB
secondary
#C7C891
accent
#D750D4
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4542BB

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

Preview Lab → · Contrast checker → · Palette generator →

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