#4E4EA9#4E4EA9

#4E4EA9 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.142 H 279.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4E4EA9
RGBrgb(78, 78, 169)
HSLhsl(240, 37%, 48%)
HSVhsv(240, 54%, 66%)
CMYKcmyk(53.8%, 53.8%, 0%, 33.7%)
CIE-LABlab(37.72, 26.23, -49.12)
CIE-LCHlch(37.72, 55.69, 298.10°)
OKLaboklab(47.35% 0.0235 -0.1404)
OKLCHoklch(47.35% 0.142 279.5)
XYZxyz(13.0255, 9.9323, 38.7592)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EA9 #A9A94E
analogous
#4E7BA9 #4E4EA9 #7B4EA9
triadic
#4E4EA9 #A94E4E #4EA94E
tetradic
#4E4EA9 #A94E7B #A9A94E #4EA97B
square
#4E4EA9 #A94E7B #A9A94E #4EA97B
split-complementary
#4E4EA9 #A97B4E #7BA94E
monochromatic
#272755 #3B3B7F #4E4EA9 #7575BF #9F9FD3

Accessibility & contrast

On white

7.03
#4E4EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E4EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4EA9
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EA9#FFFFFF#000000##FFFFFF
##4E4EA91.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5CAC
Deuteranopia (green-blind)
#0A55A7
Tritanopia (blue-blind)
#256374
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e4ea9;
/* rgb */ color: rgb(78, 78, 169);
/* oklch */ color: oklch(47.4% 0.142 279.5);
Tailwind
colors: {
  custom: {
    50: '#877fc3',
    500: '#4e4ea9',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ea9;
$custom-light: #877fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ea9",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 240,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47354,
    "c": 0.14234,
    "h": 279.5
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#4E4EA9
secondary
#BFBF93
accent
#CD5BCD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E4EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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