#4D488E#4D488E

#4D488E is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.2% C 0.112 H 284.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4D488E
RGBrgb(77, 72, 142)
HSLhsl(244, 33%, 42%)
HSVhsv(244, 49%, 56%)
CMYKcmyk(45.8%, 49.3%, 0%, 44.3%)
CIE-LABlab(34.32, 21.15, -38.29)
CIE-LCHlch(34.32, 43.75, 298.91°)
OKLaboklab(44.22% 0.0272 -0.1086)
OKLCHoklch(44.22% 0.112 284.1)
XYZxyz(10.2590, 8.1651, 26.6214)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D488E #898E48
analogous
#48668E #4D488E #70488E
triadic
#4D488E #8E4D48 #488E4D
tetradic
#4D488E #8E4866 #898E48 #488E70
square
#4D488E #8E4866 #898E48 #488E70
split-complementary
#4D488E #8E7048 #668E48
monochromatic
#211F3D #373365 #4D488E #6963B0 #908CC5

Accessibility & contrast

On white

7.98
#4D488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4D488E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D488E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D488E#FFFFFF#000000##FFFFFF
##4D488E1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#284F8C
Tritanopia (blue-blind)
#385764
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d488e;
/* rgb */ color: rgb(77, 72, 142);
/* oklch */ color: oklch(44.2% 0.112 284.1);
Tailwind
colors: {
  custom: {
    50: '#837baf',
    500: '#4d488e',
    950: '#000000',
  },
}
SCSS
$custom: #4d488e;
$custom-light: #837baf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d488e",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 244.286,
    "s": 32.71,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44222,
    "c": 0.11201,
    "h": 284.1
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#4D488E
secondary
#ADB082
accent
#C95FC1
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4D488E

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

Preview Lab → · Contrast checker → · Palette generator →

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