#4546AB#4546AB

#4546AB is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.158 H 277.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4546AB
RGBrgb(69, 70, 171)
HSLhsl(239, 43%, 47%)
HSVhsv(239, 60%, 67%)
CMYKcmyk(59.6%, 59.1%, 0%, 32.9%)
CIE-LABlab(35.17, 30.21, -54.47)
CIE-LCHlch(35.17, 62.28, 299.02°)
OKLaboklab(45.33% 0.021 -0.1564)
OKLCHoklch(45.33% 0.158 277.6)
XYZxyz(11.9927, 8.5849, 39.5453)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4546AB #ABAA45
analogous
#4579AB #4546AB #7745AB
triadic
#4546AB #AB4546 #46AB45
tetradic
#4546AB #AB4579 #ABAA45 #45AB77
square
#4546AB #AB4579 #ABAA45 #45AB77
split-complementary
#4546AB #AB7745 #79AB45
monochromatic
#222254 #33347F #4546AB #6A6BC3 #9696D5

Accessibility & contrast

On white

7.73
#4546AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4546AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4546AB
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4546AB#FFFFFF#000000##FFFFFF
##4546AB1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4546ab;
/* rgb */ color: rgb(69, 70, 171);
/* oklch */ color: oklch(45.3% 0.158 277.6);
Tailwind
colors: {
  custom: {
    50: '#8379c5',
    500: '#4546ab',
    950: '#000000',
  },
}
SCSS
$custom: #4546ab;
$custom-light: #8379c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4546ab",
  "rgb": {
    "r": 69,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 239.412,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45332,
    "c": 0.15783,
    "h": 277.6
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#4546AB
secondary
#C0C08B
accent
#D156D2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4546AB

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

Preview Lab → · Contrast checker → · Palette generator →

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