#4A579D#4A579D

#4A579D is a mid, moderate blue. Relative luminance 0.107; OKLCH L 48.1% C 0.113 H 273.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4A579D
RGBrgb(74, 87, 157)
HSLhsl(231, 36%, 45%)
HSVhsv(231, 53%, 62%)
CMYKcmyk(52.9%, 44.6%, 0%, 38.4%)
CIE-LABlab(39.08, 15.60, -39.79)
CIE-LCHlch(39.08, 42.74, 291.41°)
OKLaboklab(48.06% 0.0069 -0.113)
OKLCHoklch(48.06% 0.113 273.5)
XYZxyz(12.3161, 10.7058, 33.3092)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A579D #9D904A
analogous
#4A819D #4A579D #664A9D
triadic
#4A579D #9D4A57 #579D4A
tetradic
#4A579D #9D4A81 #9D904A #4A9D66
square
#4A579D #9D4A81 #9D904A #4A9D66
split-complementary
#4A579D #9D664A #819D4A
monochromatic
#23294A #364073 #4A579D #6B77B9 #959DCD

Accessibility & contrast

On white

6.68
#4A579D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4A579D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A579D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A579D#FFFFFF#000000##FFFFFF
##4A579D1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A0
Deuteranopia (green-blind)
#31599B
Tritanopia (blue-blind)
#256672
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a579d;
/* rgb */ color: rgb(74, 87, 157);
/* oklch */ color: oklch(48.1% 0.113 273.5);
Tailwind
colors: {
  custom: {
    50: '#8286ba',
    500: '#4a579d',
    950: '#000000',
  },
}
SCSS
$custom: #4a579d;
$custom-light: #8286ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4a579d",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 230.602,
    "s": 35.931,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48064,
    "c": 0.11323,
    "h": 273.5
  },
  "luminance": 0.10707
}

Semantic roles & 50–950 ramp

primary
#4A579D
secondary
#B9B28A
accent
#BA5CCC
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4A579D

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

Preview Lab → · Contrast checker → · Palette generator →

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