#4B4872#4B4872

#4B4872 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.3% C 0.069 H 286.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4B4872
RGBrgb(75, 72, 114)
HSLhsl(244, 23%, 36%)
HSVhsv(244, 37%, 45%)
CMYKcmyk(34.2%, 36.8%, 0%, 55.3%)
CIE-LABlab(32.58, 12.03, -23.72)
CIE-LCHlch(32.58, 26.60, 296.90°)
OKLaboklab(42.34% 0.0194 -0.0662)
OKLCHoklch(42.34% 0.069 286.3)
XYZxyz(8.2555, 7.3453, 16.8991)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4872 #6F7248
analogous
#485A72 #4B4872 #604872
triadic
#4B4872 #724B48 #48724B
tetradic
#4B4872 #72485A #6F7248 #487260
square
#4B4872 #72485A #6F7248 #487260
split-complementary
#4B4872 #726048 #5A7248
monochromatic
#1A1927 #32304C #4B4872 #646098 #8783B1

Accessibility & contrast

On white

8.51
#4B4872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4B4872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B4872
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4872#FFFFFF#000000##FFFFFF
##4B48721.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E74
Deuteranopia (green-blind)
#3B4B71
Tritanopia (blue-blind)
#415057
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b4872;
/* rgb */ color: rgb(75, 72, 114);
/* oklch */ color: oklch(42.3% 0.069 286.3);
Tailwind
colors: {
  custom: {
    50: '#7f7b9a',
    500: '#4b4872',
    950: '#000000',
  },
}
SCSS
$custom: #4b4872;
$custom-light: #7f7b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4872",
  "rgb": {
    "r": 75,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 244.286,
    "s": 22.581,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42342,
    "c": 0.06899,
    "h": 286.3
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#4B4872
secondary
#9B9D79
accent
#BF69B9
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4B4872

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

Preview Lab → · Contrast checker → · Palette generator →

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