#4E588C#4E588C

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

Color values

HEX#4E588C
RGBrgb(78, 88, 140)
HSLhsl(230, 28%, 43%)
HSVhsv(230, 44%, 55%)
CMYKcmyk(44.3%, 37.1%, 0%, 45.1%)
CIE-LABlab(38.71, 10.49, -30.12)
CIE-LCHlch(38.71, 31.89, 289.21°)
OKLaboklab(47.55% 0.0066 -0.0847)
OKLCHoklch(47.55% 0.085 274.5)
XYZxyz(11.3638, 10.4920, 26.2322)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E588C #8C824E
analogous
#4E778C #4E588C #634E8C
triadic
#4E588C #8C4E58 #588C4E
tetradic
#4E588C #8C4E77 #8C824E #4E8C63
square
#4E588C #8C4E77 #8C824E #4E8C63
split-complementary
#4E588C #8C634E #778C4E
monochromatic
#22273D #383F65 #4E588C #6B75AC #929AC2

Accessibility & contrast

On white

6.78
#4E588C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4E588C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E588C
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E588C#FFFFFF#000000##FFFFFF
##4E588C1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465E8E
Deuteranopia (green-blind)
#41598B
Tritanopia (blue-blind)
#39636B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e588c;
/* rgb */ color: rgb(78, 88, 140);
/* oklch */ color: oklch(47.5% 0.085 274.5);
Tailwind
colors: {
  custom: {
    50: '#8387ae',
    500: '#4e588c',
    950: '#000000',
  },
}
SCSS
$custom: #4e588c;
$custom-light: #8387ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e588c",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 140
  },
  "hsl": {
    "h": 230.323,
    "s": 28.44,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4755,
    "c": 0.08492,
    "h": 274.5
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#4E588C
secondary
#AFA887
accent
#B563C5
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E588C

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

Preview Lab → · Contrast checker → · Palette generator →

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