#4E587E#4E587E

#4E587E is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.8% C 0.063 H 272.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4E587E
RGBrgb(78, 88, 126)
HSLhsl(228, 24%, 40%)
HSVhsv(228, 38%, 49%)
CMYKcmyk(38.1%, 30.2%, 0%, 50.6%)
CIE-LABlab(38.03, 6.23, -22.65)
CIE-LCHlch(38.03, 23.49, 285.38°)
OKLaboklab(46.8% 0.0027 -0.0631)
OKLCHoklch(46.8% 0.063 272.5)
XYZxyz(10.3964, 10.1051, 21.1373)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E587E #7E744E
analogous
#4E707E #4E587E #5C4E7E
triadic
#4E587E #7E4E58 #587E4E
tetradic
#4E587E #7E4E70 #7E744E #4E7E5C
square
#4E587E #7E4E70 #7E744E #4E7E5C
split-complementary
#4E587E #7E5C4E #707E4E
monochromatic
#1F2332 #373E58 #4E587E #6874A1 #8E97B9

Accessibility & contrast

On white

6.95
#4E587E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4E587E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E587E
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E587E#FFFFFF#000000##FFFFFF
##4E587E1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C80
Deuteranopia (green-blind)
#48587D
Tritanopia (blue-blind)
#405F65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e587e;
/* rgb */ color: rgb(78, 88, 126);
/* oklch */ color: oklch(46.8% 0.063 272.5);
Tailwind
colors: {
  custom: {
    50: '#8187a3',
    500: '#4e587e',
    950: '#000000',
  },
}
SCSS
$custom: #4e587e;
$custom-light: #8187a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e587e",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 126
  },
  "hsl": {
    "h": 227.5,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.46799,
    "c": 0.06313,
    "h": 272.5
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#4E587E
secondary
#A69E82
accent
#AE68C0
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E587E

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

Preview Lab → · Contrast checker → · Palette generator →

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