#4542B3#4542B3

#4542B3 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.174 H 278.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#4542B3
RGBrgb(69, 66, 179)
HSLhsl(242, 46%, 48%)
HSVhsv(242, 63%, 70%)
CMYKcmyk(61.5%, 63.1%, 0%, 29.8%)
CIE-LABlab(34.83, 35.41, -59.77)
CIE-LCHlch(34.83, 69.47, 300.64°)
OKLaboklab(45.28% 0.0244 -0.1721)
OKLCHoklch(45.28% 0.174 278.1)
XYZxyz(12.5365, 8.4154, 43.6028)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4542B3 #B0B342
analogous
#4277B3 #4542B3 #7D42B3
triadic
#4542B3 #B34542 #42B345
tetradic
#4542B3 #B34277 #B0B342 #42B37D
square
#4542B3 #B34277 #B0B342 #42B37D
split-complementary
#4542B3 #B37D42 #77B342
monochromatic
#23215A #343286 #4542B3 #6D6AC8 #9997D9

Accessibility & contrast

On white

7.83
#4542B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4542B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4542B3#FFFFFF#000000##FFFFFF
##4542B31.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4542b3;
/* rgb */ color: rgb(69, 66, 179);
/* oklch */ color: oklch(45.3% 0.174 278.1);
Tailwind
colors: {
  custom: {
    50: '#8477cb',
    500: '#4542b3',
    950: '#000000',
  },
}
SCSS
$custom: #4542b3;
$custom-light: #8477cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4542b3",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 241.593,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4528,
    "c": 0.17378,
    "h": 278.1
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#4542B3
secondary
#C3C48C
accent
#D652D2
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4542B3

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

Preview Lab → · Contrast checker → · Palette generator →

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