#4E4FA9#4E4FA9

#4E4FA9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.141 H 279.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4E4FA9
RGBrgb(78, 79, 169)
HSLhsl(239, 37%, 48%)
HSVhsv(239, 54%, 66%)
CMYKcmyk(53.8%, 53.3%, 0%, 33.7%)
CIE-LABlab(37.98, 25.59, -48.71)
CIE-LCHlch(37.98, 55.02, 297.72°)
OKLaboklab(47.55% 0.0223 -0.1392)
OKLCHoklch(47.55% 0.141 279.1)
XYZxyz(13.0971, 10.0754, 38.7830)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FA9 #A9A84E
analogous
#4E7CA9 #4E4FA9 #7A4EA9
triadic
#4E4FA9 #A94E4F #4FA94E
tetradic
#4E4FA9 #A94E7C #A9A84E #4EA97A
square
#4E4FA9 #A94E7C #A9A84E #4EA97A
split-complementary
#4E4FA9 #A97A4E #7CA94E
monochromatic
#272855 #3B3B7F #4E4FA9 #7576BF #9F9FD3

Accessibility & contrast

On white

6.96
#4E4FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4E4FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FA9
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FA9#FFFFFF#000000##FFFFFF
##4E4FA91.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4fa9;
/* rgb */ color: rgb(78, 79, 169);
/* oklch */ color: oklch(47.5% 0.141 279.1);
Tailwind
colors: {
  custom: {
    50: '#8780c3',
    500: '#4e4fa9',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fa9;
$custom-light: #8780c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fa9",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 239.341,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47547,
    "c": 0.14095,
    "h": 279.1
  },
  "luminance": 0.10076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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