#4D5191#4D5191

#4D5191 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.3% C 0.103 H 278.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4D5191
RGBrgb(77, 81, 145)
HSLhsl(236, 31%, 44%)
HSVhsv(236, 47%, 57%)
CMYKcmyk(46.9%, 44.1%, 0%, 43.1%)
CIE-LABlab(36.94, 16.29, -35.95)
CIE-LCHlch(36.94, 39.47, 294.38°)
OKLaboklab(46.26% 0.0159 -0.1017)
OKLCHoklch(46.26% 0.103 278.9)
XYZxyz(11.1123, 9.5064, 28.0320)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5191 #918D4D
analogous
#4D7391 #4D5191 #6B4D91
triadic
#4D5191 #914D51 #51914D
tetradic
#4D5191 #914D73 #918D4D #4D916B
square
#4D5191 #914D73 #918D4D #4D916B
split-complementary
#4D5191 #916B4D #73914D
monochromatic
#232441 #383B69 #4D5191 #6B6FB0 #9396C6

Accessibility & contrast

On white

7.24
#4D5191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4D5191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5191
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5191#FFFFFF#000000##FFFFFF
##4D51911.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385A93
Deuteranopia (green-blind)
#335490
Tritanopia (blue-blind)
#355E6A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d5191;
/* rgb */ color: rgb(77, 81, 145);
/* oklch */ color: oklch(46.3% 0.103 278.9);
Tailwind
colors: {
  custom: {
    50: '#8381b1',
    500: '#4d5191',
    950: '#000000',
  },
}
SCSS
$custom: #4d5191;
$custom-light: #8381b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5191",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 145
  },
  "hsl": {
    "h": 236.471,
    "s": 30.631,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46263,
    "c": 0.10297,
    "h": 278.9
  },
  "luminance": 0.09507
}

Semantic roles & 50–950 ramp

primary
#4D5191
secondary
#B2AF88
accent
#C161C7
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4D5191

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

Preview Lab → · Contrast checker → · Palette generator →

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