#4E578F#4E578F

#4E578F is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.5% C 0.091 H 275.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4E578F
RGBrgb(78, 87, 143)
HSLhsl(232, 29%, 43%)
HSVhsv(232, 45%, 56%)
CMYKcmyk(45.5%, 39.2%, 0%, 43.9%)
CIE-LABlab(38.58, 12.07, -32.14)
CIE-LCHlch(38.58, 34.33, 290.59°)
OKLaboklab(47.5% 0.0087 -0.0905)
OKLCHoklch(47.5% 0.091 275.5)
XYZxyz(11.5065, 10.4187, 27.3860)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E578F #8F864E
analogous
#4E778F #4E578F #654E8F
triadic
#4E578F #8F4E57 #578F4E
tetradic
#4E578F #8F4E77 #8F864E #4E8F65
square
#4E578F #8F4E77 #8F864E #4E8F65
split-complementary
#4E578F #8F654E #778F4E
monochromatic
#232740 #383F67 #4E578F #6C75AF #939AC4

Accessibility & contrast

On white

6.81
#4E578F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4E578F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E578F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E578F#FFFFFF#000000##FFFFFF
##4E578F1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435E91
Deuteranopia (green-blind)
#3D588E
Tritanopia (blue-blind)
#38626C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e578f;
/* rgb */ color: rgb(78, 87, 143);
/* oklch */ color: oklch(47.5% 0.091 275.5);
Tailwind
colors: {
  custom: {
    50: '#8386b0',
    500: '#4e578f',
    950: '#000000',
  },
}
SCSS
$custom: #4e578f;
$custom-light: #8386b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e578f",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 143
  },
  "hsl": {
    "h": 231.692,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47503,
    "c": 0.09095,
    "h": 275.5
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

primary
#4E578F
secondary
#B1AB88
accent
#B862C6
background
#F8F8FA
surface
#EFEFF5
border
#CACACF
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E578F

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

Preview Lab → · Contrast checker → · Palette generator →

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