#4E4E8C#4E4E8C

#4E4E8C is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.4% C 0.100 H 281.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4E4E8C
RGBrgb(78, 78, 140)
HSLhsl(240, 28%, 43%)
HSVhsv(240, 44%, 55%)
CMYKcmyk(44.3%, 44.3%, 0%, 45.1%)
CIE-LABlab(35.91, 16.91, -34.54)
CIE-LCHlch(35.91, 38.46, 296.08°)
OKLaboklab(45.41% 0.0202 -0.0976)
OKLCHoklch(45.41% 0.1 281.7)
XYZxyz(10.5985, 8.9615, 25.9772)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E8C #8C8C4E
analogous
#4E6D8C #4E4E8C #6D4E8C
triadic
#4E4E8C #8C4E4E #4E8C4E
tetradic
#4E4E8C #8C4E6D #8C8C4E #4E8C6D
square
#4E4E8C #8C4E6D #8C8C4E #4E8C6D
split-complementary
#4E4E8C #8C6D4E #6D8C4E
monochromatic
#22223D #383865 #4E4E8C #6B6BAC #9292C2

Accessibility & contrast

On white

7.52
#4E4E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E4E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E8C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E8C#FFFFFF#000000##FFFFFF
##4E4E8C1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578E
Deuteranopia (green-blind)
#34528B
Tritanopia (blue-blind)
#3A5B66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4e8c;
/* rgb */ color: rgb(78, 78, 140);
/* oklch */ color: oklch(45.4% 0.100 281.7);
Tailwind
colors: {
  custom: {
    50: '#837fae',
    500: '#4e4e8c',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e8c;
$custom-light: #837fae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e8c",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 140
  },
  "hsl": {
    "h": 240,
    "s": 28.44,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45405,
    "c": 0.09967,
    "h": 281.7
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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