#4E4BA6#4E4BA6

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

Color values

HEX#4E4BA6
RGBrgb(78, 75, 166)
HSLhsl(242, 38%, 47%)
HSVhsv(242, 55%, 65%)
CMYKcmyk(53%, 54.8%, 0%, 34.9%)
CIE-LABlab(36.75, 27.16, -48.90)
CIE-LCHlch(36.75, 55.93, 299.05°)
OKLaboklab(46.57% 0.0267 -0.1398)
OKLCHoklch(46.57% 0.142 280.8)
XYZxyz(12.5388, 9.4043, 37.2235)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4BA6 #A3A64B
analogous
#4B76A6 #4E4BA6 #7C4BA6
triadic
#4E4BA6 #A64E4B #4BA64E
tetradic
#4E4BA6 #A64B76 #A3A64B #4BA67C
square
#4E4BA6 #A64B76 #A3A64B #4BA67C
split-complementary
#4E4BA6 #A67C4B #76A64B
monochromatic
#262552 #3A387C #4E4BA6 #7270BE #9C9AD1

Accessibility & contrast

On white

7.29
#4E4BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4E4BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4BA6
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4BA6#FFFFFF#000000##FFFFFF
##4E4BA61.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155AA9
Deuteranopia (green-blind)
#0553A4
Tritanopia (blue-blind)
#296071
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4ba6;
/* rgb */ color: rgb(78, 75, 166);
/* oklch */ color: oklch(46.6% 0.142 280.8);
Tailwind
colors: {
  custom: {
    50: '#877dc1',
    500: '#4e4ba6',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ba6;
$custom-light: #877dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ba6",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 166
  },
  "hsl": {
    "h": 241.978,
    "s": 37.759,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46565,
    "c": 0.14228,
    "h": 280.8
  },
  "luminance": 0.09405
}

Semantic roles & 50–950 ramp

primary
#4E4BA6
secondary
#BCBE8F
accent
#CE5ACA
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E4BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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