#4A517E#4A517E

#4A517E is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.9% C 0.074 H 276.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4A517E
RGBrgb(74, 81, 126)
HSLhsl(232, 26%, 39%)
HSVhsv(232, 41%, 49%)
CMYKcmyk(41.3%, 35.7%, 0%, 50.6%)
CIE-LABlab(35.69, 9.51, -26.33)
CIE-LCHlch(35.69, 27.99, 289.85°)
OKLaboklab(44.91% 0.0081 -0.0738)
OKLCHoklch(44.91% 0.074 276.2)
XYZxyz(9.5313, 8.8466, 20.9400)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A517E #7E774A
analogous
#4A6B7E #4A517E #5D4A7E
triadic
#4A517E #7E4A51 #517E4A
tetradic
#4A517E #7E4A6B #7E774A #4A7E5D
square
#4A517E #7E4A6B #7E774A #4A7E5D
split-complementary
#4A517E #7E5D4A #6B7E4A
monochromatic
#1D1F31 #333857 #4A517E #626BA3 #898FBA

Accessibility & contrast

On white

7.58
#4A517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4A517E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A517E
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A517E#FFFFFF#000000##FFFFFF
##4A517E1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425680
Deuteranopia (green-blind)
#3E527D
Tritanopia (blue-blind)
#3A5A61
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a517e;
/* rgb */ color: rgb(74, 81, 126);
/* oklch */ color: oklch(44.9% 0.074 276.2);
Tailwind
colors: {
  custom: {
    50: '#7f81a3',
    500: '#4a517e',
    950: '#000000',
  },
}
SCSS
$custom: #4a517e;
$custom-light: #7f81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a517e",
  "rgb": {
    "r": 74,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 231.923,
    "s": 26,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44909,
    "c": 0.0742,
    "h": 276.2
  },
  "luminance": 0.08847
}

Semantic roles & 50–950 ramp

primary
#4A517E
secondary
#A6A07E
accent
#B665C2
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4A517E

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

Preview Lab → · Contrast checker → · Palette generator →

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