#4D458C#4D458C

#4D458C is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.5% C 0.114 H 285.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4D458C
RGBrgb(77, 69, 140)
HSLhsl(247, 34%, 41%)
HSVhsv(247, 51%, 55%)
CMYKcmyk(45%, 50.7%, 0%, 45.1%)
CIE-LABlab(33.41, 22.45, -38.53)
CIE-LCHlch(33.41, 44.60, 300.23°)
OKLaboklab(43.49% 0.0309 -0.1094)
OKLCHoklch(43.49% 0.114 285.8)
XYZxyz(9.9210, 7.7271, 25.7746)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D458C #848C45
analogous
#45608C #4D458C #70458C
triadic
#4D458C #8C4D45 #458C4D
tetradic
#4D458C #8C4560 #848C45 #458C70
square
#4D458C #8C4560 #848C45 #458C70
split-complementary
#4D458C #8C7045 #608C45
monochromatic
#201D3A #363163 #4D458C #685EB0 #8E87C4

Accessibility & contrast

On white

8.25
#4D458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D458C
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D458C#FFFFFF#000000##FFFFFF
##4D458C1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27518F
Deuteranopia (green-blind)
#254D8A
Tritanopia (blue-blind)
#3A5462
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d458c;
/* rgb */ color: rgb(77, 69, 140);
/* oklch */ color: oklch(43.5% 0.114 285.8);
Tailwind
colors: {
  custom: {
    50: '#8378ae',
    500: '#4d458c',
    950: '#000000',
  },
}
SCSS
$custom: #4d458c;
$custom-light: #8378ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4d458c",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 246.761,
    "s": 33.971,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43493,
    "c": 0.11366,
    "h": 285.8
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#4D458C
secondary
#AAAF7E
accent
#CA5EBE
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4D458C

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

Preview Lab → · Contrast checker → · Palette generator →

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