#4D458D#4D458D

#4D458D is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.6% C 0.115 H 285.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4D458D
RGBrgb(77, 69, 141)
HSLhsl(247, 34%, 41%)
HSVhsv(247, 51%, 55%)
CMYKcmyk(45.4%, 51.1%, 0%, 44.7%)
CIE-LABlab(33.47, 22.77, -39.05)
CIE-LCHlch(33.47, 45.20, 300.24°)
OKLaboklab(43.56% 0.031 -0.1109)
OKLCHoklch(43.56% 0.115 285.6)
XYZxyz(9.9950, 7.7567, 26.1647)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D458D #858D45
analogous
#45618D #4D458D #71458D
triadic
#4D458D #8D4D45 #458D4D
tetradic
#4D458D #8D4561 #858D45 #458D71
square
#4D458D #8D4561 #858D45 #458D71
split-complementary
#4D458D #8D7145 #618D45
monochromatic
#201D3B #373164 #4D458D #685FB1 #8F88C5

Accessibility & contrast

On white

8.23
#4D458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4D458D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D458D
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D458D#FFFFFF#000000##FFFFFF
##4D458D1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#244D8B
Tritanopia (blue-blind)
#395462
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d458d;
/* rgb */ color: rgb(77, 69, 141);
/* oklch */ color: oklch(43.6% 0.115 285.6);
Tailwind
colors: {
  custom: {
    50: '#8378af',
    500: '#4d458d',
    950: '#000000',
  },
}
SCSS
$custom: #4d458d;
$custom-light: #8378af;
$custom-dark: #000000;
JSON
{
  "hex": "#4d458d",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 246.667,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43561,
    "c": 0.11513,
    "h": 285.6
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#4D458D
secondary
#AAB07E
accent
#CA5DBE
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4D458D

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

Preview Lab → · Contrast checker → · Palette generator →

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