#4A548F#4A548F

#4A548F is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.6% C 0.096 H 274.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4A548F
RGBrgb(74, 84, 143)
HSLhsl(231, 32%, 43%)
HSVhsv(231, 48%, 56%)
CMYKcmyk(48.3%, 41.3%, 0%, 43.9%)
CIE-LABlab(37.44, 12.94, -33.96)
CIE-LCHlch(37.44, 36.34, 290.86°)
OKLaboklab(46.55% 0.008 -0.096)
OKLCHoklch(46.55% 0.096 274.8)
XYZxyz(10.9507, 9.7791, 27.2918)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A548F #8F854A
analogous
#4A778F #4A548F #624A8F
triadic
#4A548F #8F4A54 #548F4A
tetradic
#4A548F #8F4A77 #8F854A #4A8F62
square
#4A548F #8F4A77 #8F854A #4A8F62
split-complementary
#4A548F #8F624A #778F4A
monochromatic
#20253E #353C67 #4A548F #6671B0 #8F96C5

Accessibility & contrast

On white

7.10
#4A548F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4A548F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A548F
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A548F#FFFFFF#000000##FFFFFF
##4A548F1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#37558E
Tritanopia (blue-blind)
#30606A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a548f;
/* rgb */ color: rgb(74, 84, 143);
/* oklch */ color: oklch(46.6% 0.096 274.8);
Tailwind
colors: {
  custom: {
    50: '#8183b0',
    500: '#4a548f',
    950: '#000000',
  },
}
SCSS
$custom: #4a548f;
$custom-light: #8183b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a548f",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 231.304,
    "s": 31.797,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46552,
    "c": 0.09629,
    "h": 274.8
  },
  "luminance": 0.0978
}

Semantic roles & 50–950 ramp

primary
#4A548F
secondary
#B1AA84
accent
#B960C8
background
#F8F8FA
surface
#EFEFF5
border
#CACACF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4A548F

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

Preview Lab → · Contrast checker → · Palette generator →

#4A548F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva