#4E4BA4#4E4BA4

#4E4BA4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.139 H 281.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4E4BA4
RGBrgb(78, 75, 164)
HSLhsl(242, 37%, 47%)
HSVhsv(242, 54%, 64%)
CMYKcmyk(52.4%, 54.3%, 0%, 35.7%)
CIE-LABlab(36.61, 26.51, -47.92)
CIE-LCHlch(36.61, 54.76, 298.95°)
OKLaboklab(46.42% 0.0266 -0.1369)
OKLCHoklch(46.42% 0.139 281)
XYZxyz(12.3567, 9.3315, 36.2648)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4BA4 #A1A44B
analogous
#4B75A4 #4E4BA4 #7A4BA4
triadic
#4E4BA4 #A44E4B #4BA44E
tetradic
#4E4BA4 #A44B75 #A1A44B #4BA47A
square
#4E4BA4 #A44B75 #A1A44B #4BA47A
split-complementary
#4E4BA4 #A47A4B #75A44B
monochromatic
#262550 #3A387A #4E4BA4 #726FBD #9B99D0

Accessibility & contrast

On white

7.33
#4E4BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E4BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4BA4
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4BA4#FFFFFF#000000##FFFFFF
##4E4BA41.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1959A7
Deuteranopia (green-blind)
#0D53A2
Tritanopia (blue-blind)
#2B5F70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4ba4;
/* rgb */ color: rgb(78, 75, 164);
/* oklch */ color: oklch(46.4% 0.139 281.0);
Tailwind
colors: {
  custom: {
    50: '#867dc0',
    500: '#4e4ba4',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ba4;
$custom-light: #867dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ba4",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 164
  },
  "hsl": {
    "h": 242.022,
    "s": 37.238,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4642,
    "c": 0.13944,
    "h": 281
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#4E4BA4
secondary
#BBBD8E
accent
#CD5BC9
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E4BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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