#4E4BA5#4E4BA5

#4E4BA5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.141 H 280.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4E4BA5
RGBrgb(78, 75, 165)
HSLhsl(242, 38%, 47%)
HSVhsv(242, 55%, 65%)
CMYKcmyk(52.7%, 54.5%, 0%, 35.3%)
CIE-LABlab(36.68, 26.83, -48.41)
CIE-LCHlch(36.68, 55.35, 299.00°)
OKLaboklab(46.49% 0.0267 -0.1383)
OKLCHoklch(46.49% 0.141 280.9)
XYZxyz(12.4474, 9.3677, 36.7423)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4BA5 #A2A54B
analogous
#4B75A5 #4E4BA5 #7B4BA5
triadic
#4E4BA5 #A54E4B #4BA54E
tetradic
#4E4BA5 #A54B75 #A2A54B #4BA57B
square
#4E4BA5 #A54B75 #A2A54B #4BA57B
split-complementary
#4E4BA5 #A57B4B #75A54B
monochromatic
#262551 #3A387B #4E4BA5 #726FBE #9B9AD1

Accessibility & contrast

On white

7.31
#4E4BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4BA5
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4BA5#FFFFFF#000000##FFFFFF
##4E4BA51.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175AA8
Deuteranopia (green-blind)
#0953A3
Tritanopia (blue-blind)
#2A5F70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4ba5;
/* rgb */ color: rgb(78, 75, 165);
/* oklch */ color: oklch(46.5% 0.141 280.9);
Tailwind
colors: {
  custom: {
    50: '#867dc0',
    500: '#4e4ba5',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ba5;
$custom-light: #867dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ba5",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 242,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46492,
    "c": 0.14086,
    "h": 280.9
  },
  "luminance": 0.09368
}

Semantic roles & 50–950 ramp

primary
#4E4BA5
secondary
#BCBD8F
accent
#CD5ACA
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E4BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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