#4E4E7F#4E4E7F

#4E4E7F is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.6% C 0.080 H 282.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4E4E7F
RGBrgb(78, 78, 127)
HSLhsl(240, 24%, 40%)
HSVhsv(240, 39%, 50%)
CMYKcmyk(38.6%, 38.6%, 0%, 50.2%)
CIE-LABlab(35.20, 12.92, -27.68)
CIE-LCHlch(35.20, 30.55, 295.02°)
OKLaboklab(44.64% 0.0175 -0.0776)
OKLCHoklch(44.64% 0.08 282.7)
XYZxyz(9.6960, 8.6004, 21.2237)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E7F #7F7F4E
analogous
#4E667F #4E4E7F #664E7F
triadic
#4E4E7F #7F4E4E #4E7F4E
tetradic
#4E4E7F #7F4E66 #7F7F4E #4E7F66
square
#4E4E7F #7F4E66 #7F7F4E #4E7F66
split-complementary
#4E4E7F #7F664E #667F4E
monochromatic
#1F1F33 #373759 #4E4E7F #6868A2 #8E8EBA

Accessibility & contrast

On white

7.72
#4E4E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4E4E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E7F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E7F#FFFFFF#000000##FFFFFF
##4E4E7F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5481
Deuteranopia (green-blind)
#3C517E
Tritanopia (blue-blind)
#405760
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4e7f;
/* rgb */ color: rgb(78, 78, 127);
/* oklch */ color: oklch(44.6% 0.080 282.7);
Tailwind
colors: {
  custom: {
    50: '#827fa4',
    500: '#4e4e7f',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e7f;
$custom-light: #827fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e7f",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 240,
    "s": 23.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44635,
    "c": 0.07955,
    "h": 282.7
  },
  "luminance": 0.08601
}

Semantic roles & 50–950 ramp

primary
#4E4E7F
secondary
#A6A683
accent
#C067C0
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E4E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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