#4E4EA8#4E4EA8

#4E4EA8 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.141 H 279.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4E4EA8
RGBrgb(78, 78, 168)
HSLhsl(240, 37%, 48%)
HSVhsv(240, 54%, 66%)
CMYKcmyk(53.6%, 53.6%, 0%, 34.1%)
CIE-LABlab(37.65, 25.90, -48.63)
CIE-LCHlch(37.65, 55.10, 298.04°)
OKLaboklab(47.28% 0.0234 -0.139)
OKLCHoklch(47.28% 0.141 279.6)
XYZxyz(12.9320, 9.8948, 38.2667)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EA8 #A8A84E
analogous
#4E7BA8 #4E4EA8 #7B4EA8
triadic
#4E4EA8 #A84E4E #4EA84E
tetradic
#4E4EA8 #A84E7B #A8A84E #4EA87B
square
#4E4EA8 #A84E7B #A8A84E #4EA87B
split-complementary
#4E4EA8 #A87B4E #7BA84E
monochromatic
#272754 #3B3B7E #4E4EA8 #7575BF #9E9ED2

Accessibility & contrast

On white

7.05
#4E4EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4E4EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4EA8
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EA8#FFFFFF#000000##FFFFFF
##4E4EA81.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5CAB
Deuteranopia (green-blind)
#0E55A6
Tritanopia (blue-blind)
#266273
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e4ea8;
/* rgb */ color: rgb(78, 78, 168);
/* oklch */ color: oklch(47.3% 0.141 279.6);
Tailwind
colors: {
  custom: {
    50: '#877fc2',
    500: '#4e4ea8',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ea8;
$custom-light: #877fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ea8",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 240,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47282,
    "c": 0.14092,
    "h": 279.6
  },
  "luminance": 0.09896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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