#4E4BA7#4E4BA7

#4E4BA7 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.144 H 280.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#4E4BA7
RGBrgb(78, 75, 167)
HSLhsl(242, 38%, 47%)
HSVhsv(242, 55%, 65%)
CMYKcmyk(53.3%, 55.1%, 0%, 34.5%)
CIE-LABlab(36.82, 27.48, -49.38)
CIE-LCHlch(36.82, 56.51, 299.10°)
OKLaboklab(46.64% 0.0267 -0.1412)
OKLCHoklch(46.64% 0.144 280.7)
XYZxyz(12.6309, 9.4411, 37.7085)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4BA7 #A4A74B
analogous
#4B76A7 #4E4BA7 #7C4BA7
triadic
#4E4BA7 #A74E4B #4BA74E
tetradic
#4E4BA7 #A74B76 #A4A74B #4BA77C
square
#4E4BA7 #A74B76 #A4A74B #4BA77C
split-complementary
#4E4BA7 #A77C4B #76A74B
monochromatic
#272553 #3A387D #4E4BA7 #7370BF #9C9BD2

Accessibility & contrast

On white

7.27
#4E4BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4E4BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4BA7
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4BA7#FFFFFF#000000##FFFFFF
##4E4BA71.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135AAA
Deuteranopia (green-blind)
#0153A5
Tritanopia (blue-blind)
#286071
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4ba7;
/* rgb */ color: rgb(78, 75, 167);
/* oklch */ color: oklch(46.6% 0.144 280.7);
Tailwind
colors: {
  custom: {
    50: '#877dc2',
    500: '#4e4ba7',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ba7;
$custom-light: #877dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ba7",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 241.957,
    "s": 38.017,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46638,
    "c": 0.14369,
    "h": 280.7
  },
  "luminance": 0.09442
}

Semantic roles & 50–950 ramp

primary
#4E4BA7
secondary
#BDBE8F
accent
#CE5ACA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E4BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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