#4E4F8D#4E4F8D

#4E4F8D is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.7% C 0.100 H 281.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#4E4F8D
RGBrgb(78, 79, 141)
HSLhsl(239, 29%, 43%)
HSVhsv(239, 45%, 55%)
CMYKcmyk(44.7%, 44%, 0%, 44.7%)
CIE-LABlab(36.24, 16.58, -34.63)
CIE-LCHlch(36.24, 38.39, 295.58°)
OKLaboklab(45.68% 0.019 -0.0979)
OKLCHoklch(45.68% 0.1 281)
XYZxyz(10.7442, 9.1343, 26.3911)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F8D #8D8C4E
analogous
#4E6E8D #4E4F8D #6C4E8D
triadic
#4E4F8D #8D4E4F #4F8D4E
tetradic
#4E4F8D #8D4E6E #8D8C4E #4E8D6C
square
#4E4F8D #8D4E6E #8D8C4E #4E8D6C
split-complementary
#4E4F8D #8D6C4E #6E8D4E
monochromatic
#22233E #383966 #4E4F8D #6B6CAD #9293C3

Accessibility & contrast

On white

7.43
#4E4F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4F8D
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F8D#FFFFFF#000000##FFFFFF
##4E4F8D1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38588F
Deuteranopia (green-blind)
#34538C
Tritanopia (blue-blind)
#3A5C67
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4f8d;
/* rgb */ color: rgb(78, 79, 141);
/* oklch */ color: oklch(45.7% 0.100 281.0);
Tailwind
colors: {
  custom: {
    50: '#8380af',
    500: '#4e4f8d',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f8d;
$custom-light: #8380af;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f8d",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 239.048,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45676,
    "c": 0.09968,
    "h": 281
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#4E4F8D
secondary
#AFAF87
accent
#C363C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E4F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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