#4E4BAB#4E4BAB

#4E4BAB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.149 H 280.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#4E4BAB
RGBrgb(78, 75, 171)
HSLhsl(242, 39%, 48%)
HSVhsv(242, 56%, 67%)
CMYKcmyk(54.4%, 56.1%, 0%, 32.9%)
CIE-LABlab(37.10, 28.78, -51.31)
CIE-LCHlch(37.10, 58.84, 299.29°)
OKLaboklab(46.94% 0.0269 -0.1469)
OKLCHoklch(46.94% 0.149 280.4)
XYZxyz(13.0064, 9.5913, 39.6861)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4BAB #A8AB4B
analogous
#4B78AB #4E4BAB #7E4BAB
triadic
#4E4BAB #AB4E4B #4BAB4E
tetradic
#4E4BAB #AB4B78 #A8AB4B #4BAB7E
square
#4E4BAB #AB4B78 #A8AB4B #4BAB7E
split-complementary
#4E4BAB #AB7E4B #78AB4B
monochromatic
#272656 #3B3880 #4E4BAB #7572C1 #9E9DD4

Accessibility & contrast

On white

7.20
#4E4BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4E4BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4BAB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4BAB#FFFFFF#000000##FFFFFF
##4E4BAB1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075BAE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#246173
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4bab;
/* rgb */ color: rgb(78, 75, 171);
/* oklch */ color: oklch(46.9% 0.149 280.4);
Tailwind
colors: {
  custom: {
    50: '#877dc5',
    500: '#4e4bab',
    950: '#000000',
  },
}
SCSS
$custom: #4e4bab;
$custom-light: #877dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4bab",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 171
  },
  "hsl": {
    "h": 241.875,
    "s": 39.024,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46935,
    "c": 0.1493,
    "h": 280.4
  },
  "luminance": 0.09592
}

Semantic roles & 50–950 ramp

primary
#4E4BAB
secondary
#BFC091
accent
#CF59CB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E4BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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