#4E5AA7#4E5AA7

#4E5AA7 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.123 H 274.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4E5AA7
RGBrgb(78, 90, 167)
HSLhsl(232, 36%, 48%)
HSVhsv(232, 53%, 65%)
CMYKcmyk(53.3%, 46.1%, 0%, 34.5%)
CIE-LABlab(40.77, 17.91, -43.04)
CIE-LCHlch(40.77, 46.62, 292.60°)
OKLaboklab(49.61% 0.0094 -0.1224)
OKLCHoklch(49.61% 0.123 274.4)
XYZxyz(13.7709, 11.7212, 38.0885)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5AA7 #A79B4E
analogous
#4E86A7 #4E5AA7 #6E4EA7
triadic
#4E5AA7 #A74E5A #5AA74E
tetradic
#4E5AA7 #A74E86 #A79B4E #4EA76E
square
#4E5AA7 #A74E86 #A79B4E #4EA76E
split-complementary
#4E5AA7 #A76E4E #86A74E
monochromatic
#272D54 #3B447D #4E5AA7 #747EBE #9EA5D2

Accessibility & contrast

On white

6.28
#4E5AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4E5AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5AA7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5AA7#FFFFFF#000000##FFFFFF
##4E5AA71.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864AA
Deuteranopia (green-blind)
#2F5DA5
Tritanopia (blue-blind)
#256B78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e5aa7;
/* rgb */ color: rgb(78, 90, 167);
/* oklch */ color: oklch(49.6% 0.123 274.4);
Tailwind
colors: {
  custom: {
    50: '#8688c1',
    500: '#4e5aa7',
    950: '#000000',
  },
}
SCSS
$custom: #4e5aa7;
$custom-light: #8688c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5aa7",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 231.91,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49614,
    "c": 0.12278,
    "h": 274.4
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#4E5AA7
secondary
#BEB892
accent
#BD5BCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E5AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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