#4A507A#4A507A

#4A507A is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.5% C 0.069 H 277.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4A507A
RGBrgb(74, 80, 122)
HSLhsl(233, 24%, 38%)
HSVhsv(233, 39%, 48%)
CMYKcmyk(39.3%, 34.4%, 0%, 52.2%)
CIE-LABlab(35.20, 8.93, -24.62)
CIE-LCHlch(35.20, 26.19, 289.93°)
OKLaboklab(44.47% 0.0084 -0.0688)
OKLCHoklch(44.47% 0.069 277)
XYZxyz(9.2045, 8.5979, 19.5832)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A507A #7A744A
analogous
#4A687A #4A507A #5C4A7A
triadic
#4A507A #7A4A50 #507A4A
tetradic
#4A507A #7A4A68 #7A744A #4A7A5C
square
#4A507A #7A4A68 #7A744A #4A7A5C
split-complementary
#4A507A #7A5C4A #687A4A
monochromatic
#1C1E2E #333754 #4A507A #6269A0 #888EB7

Accessibility & contrast

On white

7.72
#4A507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4A507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A507A
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A507A#FFFFFF#000000##FFFFFF
##4A507A1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557C
Deuteranopia (green-blind)
#3F5179
Tritanopia (blue-blind)
#3C585F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4a507a;
/* rgb */ color: rgb(74, 80, 122);
/* oklch */ color: oklch(44.5% 0.069 277.0);
Tailwind
colors: {
  custom: {
    50: '#7e81a0',
    500: '#4a507a',
    950: '#000000',
  },
}
SCSS
$custom: #4a507a;
$custom-light: #7e81a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a507a",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 232.5,
    "s": 24.49,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.06934,
    "h": 277
  },
  "luminance": 0.08598
}

Semantic roles & 50–950 ramp

primary
#4A507A
secondary
#A39E7D
accent
#B667C1
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0F
muted
#7C7C7E

Preview Lab

Preview with #4A507A

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

Preview Lab → · Contrast checker → · Palette generator →

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