#4D4D91#4D4D91

#4D4D91 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.4% C 0.109 H 281.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4D4D91
RGBrgb(77, 77, 145)
HSLhsl(240, 31%, 44%)
HSVhsv(240, 47%, 57%)
CMYKcmyk(46.9%, 46.9%, 0%, 43.1%)
CIE-LABlab(35.85, 18.87, -37.69)
CIE-LCHlch(35.85, 42.15, 296.60°)
OKLaboklab(45.43% 0.0211 -0.1069)
OKLCHoklch(45.43% 0.109 281.2)
XYZxyz(10.8238, 8.9293, 27.9358)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4D91 #91914D
analogous
#4D6F91 #4D4D91 #6F4D91
triadic
#4D4D91 #914D4D #4D914D
tetradic
#4D4D91 #914D6F #91914D #4D916F
square
#4D4D91 #914D6F #91914D #4D916F
split-complementary
#4D4D91 #916F4D #6F914D
monochromatic
#232341 #383869 #4D4D91 #6B6BB0 #9393C6

Accessibility & contrast

On white

7.54
#4D4D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4D4D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4D91
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4D91#FFFFFF#000000##FFFFFF
##4D4D911.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325794
Deuteranopia (green-blind)
#2D528F
Tritanopia (blue-blind)
#365B68
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d4d91;
/* rgb */ color: rgb(77, 77, 145);
/* oklch */ color: oklch(45.4% 0.109 281.2);
Tailwind
colors: {
  custom: {
    50: '#837eb2',
    500: '#4d4d91',
    950: '#000000',
  },
}
SCSS
$custom: #4d4d91;
$custom-light: #837eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4d91",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 145
  },
  "hsl": {
    "h": 240,
    "s": 30.631,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45432,
    "c": 0.10892,
    "h": 281.2
  },
  "luminance": 0.0893
}

Semantic roles & 50–950 ramp

primary
#4D4D91
secondary
#B2B288
accent
#C761C7
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4D4D91

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

Preview Lab → · Contrast checker → · Palette generator →

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