#4D488B#4D488B

#4D488B is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.0% C 0.108 H 284.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4D488B
RGBrgb(77, 72, 139)
HSLhsl(244, 32%, 41%)
HSVhsv(244, 48%, 55%)
CMYKcmyk(44.6%, 48.2%, 0%, 45.5%)
CIE-LABlab(34.14, 20.21, -36.75)
CIE-LCHlch(34.14, 41.94, 298.80°)
OKLaboklab(44.03% 0.0268 -0.1041)
OKLCHoklch(44.03% 0.108 284.5)
XYZxyz(10.0368, 8.0762, 25.4511)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D488B #868B48
analogous
#48658B #4D488B #6F488B
triadic
#4D488B #8B4D48 #488B4D
tetradic
#4D488B #8B4865 #868B48 #488B6F
square
#4D488B #8B4865 #868B48 #488B6F
split-complementary
#4D488B #8B6F48 #658B48
monochromatic
#201E3A #373363 #4D488B #6862AE #8F8BC3

Accessibility & contrast

On white

8.03
#4D488B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4D488B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D488B
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D488B#FFFFFF#000000##FFFFFF
##4D488B1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#2B4E89
Tritanopia (blue-blind)
#3A5663
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d488b;
/* rgb */ color: rgb(77, 72, 139);
/* oklch */ color: oklch(44.0% 0.108 284.5);
Tailwind
colors: {
  custom: {
    50: '#827bad',
    500: '#4d488b',
    950: '#000000',
  },
}
SCSS
$custom: #4d488b;
$custom-light: #827bad;
$custom-dark: #000000;
JSON
{
  "hex": "#4d488b",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 139
  },
  "hsl": {
    "h": 244.478,
    "s": 31.754,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44025,
    "c": 0.10752,
    "h": 284.5
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#4D488B
secondary
#ABAE80
accent
#C860C0
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4D488B

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

Preview Lab → · Contrast checker → · Palette generator →

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