#4E5790#4E5790

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

Color values

HEX#4E5790
RGBrgb(78, 87, 144)
HSLhsl(232, 30%, 44%)
HSVhsv(232, 46%, 56%)
CMYKcmyk(45.8%, 39.6%, 0%, 43.5%)
CIE-LABlab(38.64, 12.39, -32.66)
CIE-LCHlch(38.64, 34.93, 290.77°)
OKLaboklab(47.56% 0.0089 -0.0921)
OKLCHoklch(47.56% 0.092 275.5)
XYZxyz(11.5826, 10.4491, 27.7867)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5790 #90874E
analogous
#4E7890 #4E5790 #664E90
triadic
#4E5790 #904E57 #57904E
tetradic
#4E5790 #904E78 #90874E #4E9066
square
#4E5790 #904E78 #90874E #4E9066
split-complementary
#4E5790 #90664E #78904E
monochromatic
#232741 #383F68 #4E5790 #6C75AF #949AC5

Accessibility & contrast

On white

6.80
#4E5790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5790
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5790#FFFFFF#000000##FFFFFF
##4E57901.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425E92
Deuteranopia (green-blind)
#3D588F
Tritanopia (blue-blind)
#37636C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e5790;
/* rgb */ color: rgb(78, 87, 144);
/* oklch */ color: oklch(47.6% 0.092 275.5);
Tailwind
colors: {
  custom: {
    50: '#8386b1',
    500: '#4e5790',
    950: '#000000',
  },
}
SCSS
$custom: #4e5790;
$custom-light: #8386b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5790",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 144
  },
  "hsl": {
    "h": 231.818,
    "s": 29.73,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47561,
    "c": 0.09249,
    "h": 275.5
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5790

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

Preview Lab → · Contrast checker → · Palette generator →

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