#4E4F7E#4E4F7E

#4E4F7E is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.8% C 0.076 H 281.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4E4F7E
RGBrgb(78, 79, 126)
HSLhsl(239, 24%, 40%)
HSVhsv(239, 38%, 49%)
CMYKcmyk(38.1%, 37.3%, 0%, 50.6%)
CIE-LABlab(35.44, 11.98, -26.70)
CIE-LCHlch(35.44, 29.26, 294.16°)
OKLaboklab(44.8% 0.0158 -0.0748)
OKLCHoklch(44.8% 0.076 281.9)
XYZxyz(9.7027, 8.7177, 20.9061)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F7E #7E7D4E
analogous
#4E677E #4E4F7E #654E7E
triadic
#4E4F7E #7E4E4F #4F7E4E
tetradic
#4E4F7E #7E4E67 #7E7D4E #4E7E65
square
#4E4F7E #7E4E67 #7E7D4E #4E7E65
split-complementary
#4E4F7E #7E654E #677E4E
monochromatic
#1F2032 #373758 #4E4F7E #6869A1 #8E8FB9

Accessibility & contrast

On white

7.65
#4E4F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4E4F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F7E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F7E#FFFFFF#000000##FFFFFF
##4E4F7E1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405580
Deuteranopia (green-blind)
#3E527D
Tritanopia (blue-blind)
#415860
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4f7e;
/* rgb */ color: rgb(78, 79, 126);
/* oklch */ color: oklch(44.8% 0.076 281.9);
Tailwind
colors: {
  custom: {
    50: '#8180a3',
    500: '#4e4f7e',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f7e;
$custom-light: #8180a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f7e",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 238.75,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.44796,
    "c": 0.07641,
    "h": 281.9
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#4E4F7E
secondary
#A6A582
accent
#BE68C0
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E4F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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