#4D4697#4D4697

#4D4697 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.128 H 283.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4D4697
RGBrgb(77, 70, 151)
HSLhsl(245, 37%, 43%)
HSVhsv(245, 54%, 59%)
CMYKcmyk(49%, 53.6%, 0%, 40.8%)
CIE-LABlab(34.38, 25.29, -43.69)
CIE-LCHlch(34.38, 50.48, 300.06°)
OKLaboklab(44.45% 0.0306 -0.1245)
OKLCHoklch(44.45% 0.128 283.8)
XYZxyz(10.8350, 8.1919, 30.2824)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4697 #909746
analogous
#466797 #4D4697 #754697
triadic
#4D4697 #974D46 #46974D
tetradic
#4D4697 #974667 #909746 #469775
square
#4D4697 #974667 #909746 #469775
split-complementary
#4D4697 #977546 #679746
monochromatic
#221F43 #38336D #4D4697 #6B63B7 #928DCA

Accessibility & contrast

On white

7.96
#4D4697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4D4697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4697
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4697#FFFFFF#000000##FFFFFF
##4D46971.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#184E95
Tritanopia (blue-blind)
#335867
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d4697;
/* rgb */ color: rgb(77, 70, 151);
/* oklch */ color: oklch(44.5% 0.128 283.8);
Tailwind
colors: {
  custom: {
    50: '#8479b6',
    500: '#4d4697',
    950: '#000000',
  },
}
SCSS
$custom: #4d4697;
$custom-light: #8479b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4697",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 245.185,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4445,
    "c": 0.12819,
    "h": 283.8
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#4D4697
secondary
#B1B683
accent
#CD5BC3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4D4697

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

Preview Lab → · Contrast checker → · Palette generator →

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