#4E588B#4E588B

#4E588B is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.5% C 0.083 H 274.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4E588B
RGBrgb(78, 88, 139)
HSLhsl(230, 28%, 43%)
HSVhsv(230, 44%, 55%)
CMYKcmyk(43.9%, 36.7%, 0%, 45.5%)
CIE-LABlab(38.66, 10.18, -29.59)
CIE-LCHlch(38.66, 31.29, 288.99°)
OKLaboklab(47.49% 0.0064 -0.0831)
OKLCHoklch(47.49% 0.083 274.4)
XYZxyz(11.2904, 10.4627, 25.8457)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E588B #8B814E
analogous
#4E778B #4E588B #624E8B
triadic
#4E588B #8B4E58 #588B4E
tetradic
#4E588B #8B4E77 #8B814E #4E8B62
square
#4E588B #8B4E77 #8B814E #4E8B62
split-complementary
#4E588B #8B624E #778B4E
monochromatic
#22263D #383F64 #4E588B #6B75AC #929AC2

Accessibility & contrast

On white

6.79
#4E588B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4E588B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E588B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E588B#FFFFFF#000000##FFFFFF
##4E588B1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465E8D
Deuteranopia (green-blind)
#41598A
Tritanopia (blue-blind)
#3A626B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e588b;
/* rgb */ color: rgb(78, 88, 139);
/* oklch */ color: oklch(47.5% 0.083 274.4);
Tailwind
colors: {
  custom: {
    50: '#8287ad',
    500: '#4e588b',
    950: '#000000',
  },
}
SCSS
$custom: #4e588b;
$custom-light: #8287ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e588b",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 139
  },
  "hsl": {
    "h": 230.164,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47494,
    "c": 0.08337,
    "h": 274.4
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#4E588B
secondary
#AEA887
accent
#B563C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E588B

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

Preview Lab → · Contrast checker → · Palette generator →

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