#4E5274#4E5274

#4E5274 is a dark, muted blue. Relative luminance 0.089; OKLCH L 44.9% C 0.056 H 278.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#4E5274
RGBrgb(78, 82, 116)
HSLhsl(234, 20%, 38%)
HSVhsv(234, 33%, 45%)
CMYKcmyk(32.8%, 29.3%, 0%, 54.5%)
CIE-LABlab(35.82, 7.13, -19.91)
CIE-LCHlch(35.82, 21.15, 289.70°)
OKLaboklab(44.94% 0.0085 -0.0552)
OKLCHoklch(44.94% 0.056 278.7)
XYZxyz(9.3107, 8.9150, 17.7498)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5274 #74704E
analogous
#4E6574 #4E5274 #5D4E74
triadic
#4E5274 #744E52 #52744E
tetradic
#4E5274 #744E65 #74704E #4E745D
square
#4E5274 #744E65 #74704E #4E745D
split-complementary
#4E5274 #745D4E #65744E
monochromatic
#1D1E2B #35384F #4E5274 #676C99 #8B8FB1

Accessibility & contrast

On white

7.55
#4E5274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4E5274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5274
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5274#FFFFFF#000000##FFFFFF
##4E52741.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485675
Deuteranopia (green-blind)
#465373
Tritanopia (blue-blind)
#44585E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e5274;
/* rgb */ color: rgb(78, 82, 116);
/* oklch */ color: oklch(44.9% 0.056 278.7);
Tailwind
colors: {
  custom: {
    50: '#80829c',
    500: '#4e5274',
    950: '#000000',
  },
}
SCSS
$custom: #4e5274;
$custom-light: #80829c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5274",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 116
  },
  "hsl": {
    "h": 233.684,
    "s": 19.588,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44935,
    "c": 0.05585,
    "h": 278.7
  },
  "luminance": 0.08915
}

Semantic roles & 50–950 ramp

primary
#4E5274
secondary
#9E9B80
accent
#B46CBC
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #4E5274

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

Preview Lab → · Contrast checker → · Palette generator →

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