#4E4F7D#4E4F7D

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

Color values

HEX#4E4F7D
RGBrgb(78, 79, 125)
HSLhsl(239, 23%, 40%)
HSVhsv(239, 38%, 49%)
CMYKcmyk(37.6%, 36.8%, 0%, 51%)
CIE-LABlab(35.38, 11.68, -26.16)
CIE-LCHlch(35.38, 28.65, 294.06°)
OKLaboklab(44.74% 0.0155 -0.0732)
OKLCHoklch(44.74% 0.075 282)
XYZxyz(9.6385, 8.6920, 20.5679)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F7D #7D7C4E
analogous
#4E677D #4E4F7D #644E7D
triadic
#4E4F7D #7D4E4F #4F7D4E
tetradic
#4E4F7D #7D4E67 #7D7C4E #4E7D64
square
#4E4F7D #7D4E67 #7D7C4E #4E7D64
split-complementary
#4E4F7D #7D644E #677D4E
monochromatic
#1F1F32 #363757 #4E4F7D #6869A1 #8D8EB8

Accessibility & contrast

On white

7.67
#4E4F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4F7D
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F7D#FFFFFF#000000##FFFFFF
##4E4F7D1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40557F
Deuteranopia (green-blind)
#3E527C
Tritanopia (blue-blind)
#415860
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4f7d;
/* rgb */ color: rgb(78, 79, 125);
/* oklch */ color: oklch(44.7% 0.075 282.0);
Tailwind
colors: {
  custom: {
    50: '#8180a3',
    500: '#4e4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f7d;
$custom-light: #8180a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f7d",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 238.723,
    "s": 23.153,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4474,
    "c": 0.07483,
    "h": 282
  },
  "luminance": 0.08692
}

Semantic roles & 50–950 ramp

primary
#4E4F7D
secondary
#A5A482
accent
#BE68C0
background
#F8F7FA
surface
#EFEEF3
border
#CAC9CD
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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