#4D458B#4D458B

#4D458B is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.4% C 0.112 H 286.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#4D458B
RGBrgb(77, 69, 139)
HSLhsl(247, 34%, 41%)
HSVhsv(247, 50%, 55%)
CMYKcmyk(44.6%, 50.4%, 0%, 45.5%)
CIE-LABlab(33.35, 22.14, -38.02)
CIE-LCHlch(33.35, 44.00, 300.22°)
OKLaboklab(43.43% 0.0308 -0.1079)
OKLCHoklch(43.43% 0.112 286)
XYZxyz(9.8476, 7.6977, 25.3880)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D458B #838B45
analogous
#45608B #4D458B #70458B
triadic
#4D458B #8B4D45 #458B4D
tetradic
#4D458B #8B4560 #838B45 #458B70
square
#4D458B #8B4560 #838B45 #458B70
split-complementary
#4D458B #8B7045 #608B45
monochromatic
#201C39 #363162 #4D458B #675EAF #8E87C3

Accessibility & contrast

On white

8.27
#4D458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4D458B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D458B
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D458B#FFFFFF#000000##FFFFFF
##4D458B1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508E
Deuteranopia (green-blind)
#264C89
Tritanopia (blue-blind)
#3A5461
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d458b;
/* rgb */ color: rgb(77, 69, 139);
/* oklch */ color: oklch(43.4% 0.112 286.0);
Tailwind
colors: {
  custom: {
    50: '#8378ad',
    500: '#4d458b',
    950: '#000000',
  },
}
SCSS
$custom: #4d458b;
$custom-light: #8378ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4d458b",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 246.857,
    "s": 33.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43426,
    "c": 0.11218,
    "h": 286
  },
  "luminance": 0.07698
}

Semantic roles & 50–950 ramp

primary
#4D458B
secondary
#A9AF7D
accent
#CA5EBD
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4D458B

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

Preview Lab → · Contrast checker → · Palette generator →

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