#4A548D#4A548D

#4A548D is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.4% C 0.093 H 274.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4A548D
RGBrgb(74, 84, 141)
HSLhsl(231, 31%, 42%)
HSVhsv(231, 48%, 55%)
CMYKcmyk(47.5%, 40.4%, 0%, 44.7%)
CIE-LABlab(37.33, 12.30, -32.92)
CIE-LCHlch(37.33, 35.14, 290.48°)
OKLaboklab(46.43% 0.0076 -0.0929)
OKLCHoklch(46.43% 0.093 274.7)
XYZxyz(10.8006, 9.7190, 26.5010)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A548D #8D834A
analogous
#4A768D #4A548D #624A8D
triadic
#4A548D #8D4A54 #548D4A
tetradic
#4A548D #8D4A76 #8D834A #4A8D62
square
#4A548D #8D4A76 #8D834A #4A8D62
split-complementary
#4A548D #8D624A #768D4A
monochromatic
#20243D #353C65 #4A548D #6671AF #8E96C4

Accessibility & contrast

On white

7.13
#4A548D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4A548D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A548D
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A548D#FFFFFF#000000##FFFFFF
##4A548D1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8F
Deuteranopia (green-blind)
#39558C
Tritanopia (blue-blind)
#326069
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a548d;
/* rgb */ color: rgb(74, 84, 141);
/* oklch */ color: oklch(46.4% 0.093 274.7);
Tailwind
colors: {
  custom: {
    50: '#8083ae',
    500: '#4a548d',
    950: '#000000',
  },
}
SCSS
$custom: #4a548d;
$custom-light: #8083ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4a548d",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 231.045,
    "s": 31.163,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.09323,
    "h": 274.7
  },
  "luminance": 0.0972
}

Semantic roles & 50–950 ramp

primary
#4A548D
secondary
#B0A983
accent
#B860C7
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #4A548D

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

Preview Lab → · Contrast checker → · Palette generator →

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