#4A548E#4A548E

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

Color values

HEX#4A548E
RGBrgb(74, 84, 142)
HSLhsl(231, 31%, 42%)
HSVhsv(231, 48%, 56%)
CMYKcmyk(47.9%, 40.8%, 0%, 44.3%)
CIE-LABlab(37.39, 12.62, -33.44)
CIE-LCHlch(37.39, 35.74, 290.67°)
OKLaboklab(46.49% 0.0078 -0.0944)
OKLCHoklch(46.49% 0.095 274.7)
XYZxyz(10.8753, 9.7489, 26.8946)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A548E #8E844A
analogous
#4A768E #4A548E #624A8E
triadic
#4A548E #8E4A54 #548E4A
tetradic
#4A548E #8E4A76 #8E844A #4A8E62
square
#4A548E #8E4A76 #8E844A #4A8E62
split-complementary
#4A548E #8E624A #768E4A
monochromatic
#20243E #353C66 #4A548E #6671AF #8E96C4

Accessibility & contrast

On white

7.12
#4A548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4A548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A548E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A548E#FFFFFF#000000##FFFFFF
##4A548E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B90
Deuteranopia (green-blind)
#38558D
Tritanopia (blue-blind)
#31606A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a548e;
/* rgb */ color: rgb(74, 84, 142);
/* oklch */ color: oklch(46.5% 0.095 274.7);
Tailwind
colors: {
  custom: {
    50: '#8083af',
    500: '#4a548e',
    950: '#000000',
  },
}
SCSS
$custom: #4a548e;
$custom-light: #8083af;
$custom-dark: #000000;
JSON
{
  "hex": "#4a548e",
  "rgb": {
    "r": 74,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 231.176,
    "s": 31.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46492,
    "c": 0.09476,
    "h": 274.7
  },
  "luminance": 0.09749
}

Semantic roles & 50–950 ramp

primary
#4A548E
secondary
#B0AA84
accent
#B860C8
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #4A548E

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

Preview Lab → · Contrast checker → · Palette generator →

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