#4E4F8E#4E4F8E

#4E4F8E is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.7% C 0.101 H 280.9°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#4E4F8E
RGBrgb(78, 79, 142)
HSLhsl(239, 29%, 43%)
HSVhsv(239, 45%, 56%)
CMYKcmyk(45.1%, 44.4%, 0%, 44.3%)
CIE-LABlab(36.30, 16.89, -35.15)
CIE-LCHlch(36.30, 38.99, 295.67°)
OKLaboklab(45.74% 0.0192 -0.0994)
OKLCHoklch(45.74% 0.101 280.9)
XYZxyz(10.8189, 9.1642, 26.7847)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F8E #8E8D4E
analogous
#4E6F8E #4E4F8E #6D4E8E
triadic
#4E4F8E #8E4E4F #4F8E4E
tetradic
#4E4F8E #8E4E6F #8E8D4E #4E8E6D
square
#4E4F8E #8E4E6F #8E8D4E #4E8E6D
split-complementary
#4E4F8E #8E6D4E #6F8E4E
monochromatic
#23233F #383966 #4E4F8E #6B6CAE #9394C4

Accessibility & contrast

On white

7.41
#4E4F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4E4F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F8E
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F8E#FFFFFF#000000##FFFFFF
##4E4F8E1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375890
Deuteranopia (green-blind)
#33538D
Tritanopia (blue-blind)
#395C67
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4f8e;
/* rgb */ color: rgb(78, 79, 142);
/* oklch */ color: oklch(45.7% 0.101 280.9);
Tailwind
colors: {
  custom: {
    50: '#8380af',
    500: '#4e4f8e',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f8e;
$custom-light: #8380af;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f8e",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 239.063,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45738,
    "c": 0.1012,
    "h": 280.9
  },
  "luminance": 0.09165
}

Semantic roles & 50–950 ramp

primary
#4E4F8E
secondary
#B0AF88
accent
#C462C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E4F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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