#4D5291#4D5291

#4D5291 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.5% C 0.102 H 278.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4D5291
RGBrgb(77, 82, 145)
HSLhsl(236, 31%, 44%)
HSVhsv(236, 47%, 57%)
CMYKcmyk(46.9%, 43.4%, 0%, 43.1%)
CIE-LABlab(37.22, 15.65, -35.51)
CIE-LCHlch(37.22, 38.81, 293.78°)
OKLaboklab(46.47% 0.0145 -0.1004)
OKLCHoklch(46.47% 0.102 278.2)
XYZxyz(11.1871, 9.6561, 28.0569)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5291 #918C4D
analogous
#4D7491 #4D5291 #6A4D91
triadic
#4D5291 #914D52 #52914D
tetradic
#4D5291 #914D74 #918C4D #4D916A
square
#4D5291 #914D74 #918C4D #4D916A
split-complementary
#4D5291 #916A4D #74914D
monochromatic
#232541 #383B69 #4D5291 #6B70B0 #9397C6

Accessibility & contrast

On white

7.16
#4D5291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4D5291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5291
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5291#FFFFFF#000000##FFFFFF
##4D52911.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A93
Deuteranopia (green-blind)
#355590
Tritanopia (blue-blind)
#355F6A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d5291;
/* rgb */ color: rgb(77, 82, 145);
/* oklch */ color: oklch(46.5% 0.102 278.2);
Tailwind
colors: {
  custom: {
    50: '#8382b1',
    500: '#4d5291',
    950: '#000000',
  },
}
SCSS
$custom: #4d5291;
$custom-light: #8382b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5291",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 235.588,
    "s": 30.631,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46474,
    "c": 0.1015,
    "h": 278.2
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D5291

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

Preview Lab → · Contrast checker → · Palette generator →

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