#4E4F7C#4E4F7C

#4E4F7C is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.073 H 282.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4E4F7C
RGBrgb(78, 79, 124)
HSLhsl(239, 23%, 40%)
HSVhsv(239, 37%, 49%)
CMYKcmyk(37.1%, 36.3%, 0%, 51.4%)
CIE-LABlab(35.33, 11.38, -25.62)
CIE-LCHlch(35.33, 28.04, 293.95°)
OKLaboklab(44.69% 0.0153 -0.0716)
OKLCHoklch(44.69% 0.073 282)
XYZxyz(9.5749, 8.6666, 20.2332)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F7C #7C7B4E
analogous
#4E667C #4E4F7C #644E7C
triadic
#4E4F7C #7C4E4F #4F7C4E
tetradic
#4E4F7C #7C4E66 #7C7B4E #4E7C64
square
#4E4F7C #7C4E66 #7C7B4E #4E7C64
split-complementary
#4E4F7C #7C644E #667C4E
monochromatic
#1F1F31 #363756 #4E4F7C #6769A0 #8D8EB7

Accessibility & contrast

On white

7.68
#4E4F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E4F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F7C
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F7C#FFFFFF#000000##FFFFFF
##4E4F7C1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557E
Deuteranopia (green-blind)
#3F527B
Tritanopia (blue-blind)
#41585F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4f7c;
/* rgb */ color: rgb(78, 79, 124);
/* oklch */ color: oklch(44.7% 0.073 282.0);
Tailwind
colors: {
  custom: {
    50: '#8180a2',
    500: '#4e4f7c',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f7c;
$custom-light: #8180a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f7c",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 238.696,
    "s": 22.772,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44685,
    "c": 0.07325,
    "h": 282
  },
  "luminance": 0.08667
}

Semantic roles & 50–950 ramp

primary
#4E4F7C
secondary
#A4A382
accent
#BD69BF
background
#F8F7FA
surface
#EFEEF3
border
#CAC9CD
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E4F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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