#4B5271#4B5271

#4B5271 is a dark, muted blue. Relative luminance 0.087; OKLCH L 44.5% C 0.052 H 274.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4B5271
RGBrgb(75, 82, 113)
HSLhsl(229, 20%, 37%)
HSVhsv(229, 34%, 44%)
CMYKcmyk(33.6%, 27.4%, 0%, 55.7%)
CIE-LABlab(35.44, 5.30, -18.65)
CIE-LCHlch(35.44, 19.38, 285.86°)
OKLaboklab(44.54% 0.0039 -0.0516)
OKLCHoklch(44.54% 0.052 274.3)
XYZxyz(8.8987, 8.7224, 16.8343)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5271 #716A4B
analogous
#4B6571 #4B5271 #574B71
triadic
#4B5271 #714B52 #52714B
tetradic
#4B5271 #714B65 #716A4B #4B7157
square
#4B5271 #714B65 #716A4B #4B7157
split-complementary
#4B5271 #71574B #65714B
monochromatic
#1A1D27 #33374C #4B5271 #636D96 #878EAF

Accessibility & contrast

On white

7.65
#4B5271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4B5271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5271
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5271#FFFFFF#000000##FFFFFF
##4B52711.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485572
Deuteranopia (green-blind)
#465270
Tritanopia (blue-blind)
#41585D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4b5271;
/* rgb */ color: rgb(75, 82, 113);
/* oklch */ color: oklch(44.5% 0.052 274.3);
Tailwind
colors: {
  custom: {
    50: '#7e829a',
    500: '#4b5271',
    950: '#000000',
  },
}
SCSS
$custom: #4b5271;
$custom-light: #7e829a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5271",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 228.947,
    "s": 20.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44538,
    "c": 0.0518,
    "h": 274.3
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#4B5271
secondary
#9C967C
accent
#AE6BBD
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #4B5271

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

Preview Lab → · Contrast checker → · Palette generator →

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