#4E579A#4E579A

#4E579A is a mid, moderate blue. Relative luminance 0.108; OKLCH L 48.2% C 0.108 H 275.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4E579A
RGBrgb(78, 87, 154)
HSLhsl(233, 33%, 45%)
HSVhsv(233, 49%, 60%)
CMYKcmyk(49.4%, 43.5%, 0%, 39.6%)
CIE-LABlab(39.19, 15.58, -37.81)
CIE-LCHlch(39.19, 40.89, 292.40°)
OKLaboklab(48.16% 0.0109 -0.1071)
OKLCHoklch(48.16% 0.108 275.8)
XYZxyz(12.3810, 10.7685, 31.9917)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E579A #9A914E
analogous
#4E7D9A #4E579A #6B4E9A
triadic
#4E579A #9A4E57 #579A4E
tetradic
#4E579A #9A4E7D #9A914E #4E9A6B
square
#4E579A #9A4E7D #9A914E #4E9A6B
split-complementary
#4E579A #9A6B4E #7D9A4E
monochromatic
#252949 #394071 #4E579A #6F77B6 #989ECB

Accessibility & contrast

On white

6.66
#4E579A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4E579A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E579A
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E579A#FFFFFF#000000##FFFFFF
##4E579A1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C609D
Deuteranopia (green-blind)
#365999
Tritanopia (blue-blind)
#316571
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e579a;
/* rgb */ color: rgb(78, 87, 154);
/* oklch */ color: oklch(48.2% 0.108 275.8);
Tailwind
colors: {
  custom: {
    50: '#8486b8',
    500: '#4e579a',
    950: '#000000',
  },
}
SCSS
$custom: #4e579a;
$custom-light: #8486b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e579a",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 232.895,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48163,
    "c": 0.10766,
    "h": 275.8
  },
  "luminance": 0.10769
}

Semantic roles & 50–950 ramp

primary
#4E579A
secondary
#B7B28D
accent
#BC5FC9
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E579A

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

Preview Lab → · Contrast checker → · Palette generator →

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