#4E5271#4E5271

#4E5271 is a dark, muted blue. Relative luminance 0.088; OKLCH L 44.8% C 0.051 H 278.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4E5271
RGBrgb(78, 82, 113)
HSLhsl(233, 18%, 37%)
HSVhsv(233, 31%, 44%)
CMYKcmyk(31%, 27.4%, 0%, 55.7%)
CIE-LABlab(35.69, 6.28, -18.25)
CIE-LCHlch(35.69, 19.30, 288.98°)
OKLaboklab(44.79% 0.0075 -0.0505)
OKLCHoklch(44.79% 0.051 278.4)
XYZxyz(9.1390, 8.8463, 16.8456)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5271 #716D4E
analogous
#4E6471 #4E5271 #5C4E71
triadic
#4E5271 #714E52 #52714E
tetradic
#4E5271 #714E64 #716D4E #4E715C
square
#4E5271 #714E64 #716D4E #4E715C
split-complementary
#4E5271 #715C4E #64714E
monochromatic
#1C1D29 #35384D #4E5271 #676C95 #8B8FAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5271#FFFFFF#000000##FFFFFF
##4E52711.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)
#495572
Deuteranopia (green-blind)
#475370
Tritanopia (blue-blind)
#45585D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e5271;
/* rgb */ color: rgb(78, 82, 113);
/* oklch */ color: oklch(44.8% 0.051 278.4);
Tailwind
colors: {
  custom: {
    50: '#80829a',
    500: '#4e5271',
    950: '#000000',
  },
}
SCSS
$custom: #4e5271;
$custom-light: #80829a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5271",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 233.143,
    "s": 18.325,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44788,
    "c": 0.05102,
    "h": 278.4
  },
  "luminance": 0.08847
}

Semantic roles & 50–950 ramp

primary
#4E5271
secondary
#9C997F
accent
#B26DBB
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #4E5271

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

Preview Lab → · Contrast checker → · Palette generator →

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