#4D5E97#4D5E97

#4D5E97 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.4% C 0.094 H 270.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4D5E97
RGBrgb(77, 94, 151)
HSLhsl(226, 32%, 45%)
HSVhsv(226, 49%, 59%)
CMYKcmyk(49%, 37.7%, 0%, 40.8%)
CIE-LABlab(40.92, 9.91, -33.27)
CIE-LCHlch(40.92, 34.71, 286.58°)
OKLaboklab(49.42% 0.0002 -0.0938)
OKLCHoklch(49.42% 0.094 270.1)
XYZxyz(12.6474, 11.8168, 30.8866)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5E97 #97864D
analogous
#4D8397 #4D5E97 #614D97
triadic
#4D5E97 #974D5E #5E974D
tetradic
#4D5E97 #974D83 #97864D #4D9761
square
#4D5E97 #974D83 #97864D #4D9761
split-complementary
#4D5E97 #97614D #83974D
monochromatic
#242C46 #38456E #4D5E97 #6D7DB4 #95A1C9

Accessibility & contrast

On white

6.24
#4D5E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4D5E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5E97
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5E97#FFFFFF#000000##FFFFFF
##4D5E971.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496499
Deuteranopia (green-blind)
#415E96
Tritanopia (blue-blind)
#306A73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d5e97;
/* rgb */ color: rgb(77, 94, 151);
/* oklch */ color: oklch(49.4% 0.094 270.1);
Tailwind
colors: {
  custom: {
    50: '#838bb6',
    500: '#4d5e97',
    950: '#000000',
  },
}
SCSS
$custom: #4d5e97;
$custom-light: #838bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5e97",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 151
  },
  "hsl": {
    "h": 226.216,
    "s": 32.456,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49424,
    "c": 0.09382,
    "h": 270.1
  },
  "luminance": 0.11818
}

Semantic roles & 50–950 ramp

primary
#4D5E97
secondary
#B6AC8A
accent
#B05FC9
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4D5E97

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

Preview Lab → · Contrast checker → · Palette generator →

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