#4E5078#4E5078

#4E5078 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.065 H 281.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#4E5078
RGBrgb(78, 80, 120)
HSLhsl(237, 21%, 39%)
HSVhsv(237, 35%, 47%)
CMYKcmyk(35%, 33.3%, 0%, 52.9%)
CIE-LABlab(35.43, 9.56, -23.00)
CIE-LCHlch(35.43, 24.91, 292.57°)
OKLaboklab(44.69% 0.0127 -0.0641)
OKLCHoklch(44.69% 0.065 281.2)
XYZxyz(9.3998, 8.7128, 18.9521)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5078 #78764E
analogous
#4E6578 #4E5078 #614E78
triadic
#4E5078 #784E50 #50784E
tetradic
#4E5078 #784E65 #78764E #4E7861
square
#4E5078 #784E65 #78764E #4E7861
split-complementary
#4E5078 #78614E #65784E
monochromatic
#1E1F2E #363753 #4E5078 #676A9C #8C8EB4

Accessibility & contrast

On white

7.66
#4E5078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5078
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5078#FFFFFF#000000##FFFFFF
##4E50781.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44557A
Deuteranopia (green-blind)
#425277
Tritanopia (blue-blind)
#43575E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e5078;
/* rgb */ color: rgb(78, 80, 120);
/* oklch */ color: oklch(44.7% 0.065 281.2);
Tailwind
colors: {
  custom: {
    50: '#81819f',
    500: '#4e5078',
    950: '#000000',
  },
}
SCSS
$custom: #4e5078;
$custom-light: #81819f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5078",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 120
  },
  "hsl": {
    "h": 237.143,
    "s": 21.212,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44691,
    "c": 0.06532,
    "h": 281.2
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#4E5078
secondary
#A1A081
accent
#BA6ABE
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #4E5078

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

Preview Lab → · Contrast checker → · Palette generator →

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