#4D4E8F#4D4E8F

#4D4E8F is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.5% C 0.104 H 280.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4D4E8F
RGBrgb(77, 78, 143)
HSLhsl(239, 30%, 43%)
HSVhsv(239, 46%, 56%)
CMYKcmyk(46.2%, 45.5%, 0%, 43.9%)
CIE-LABlab(36.00, 17.59, -36.23)
CIE-LCHlch(36.00, 40.28, 295.90°)
OKLaboklab(45.51% 0.0195 -0.1026)
OKLCHoklch(45.51% 0.104 280.7)
XYZxyz(10.7414, 9.0092, 27.1543)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E8F #8F8E4D
analogous
#4D6F8F #4D4E8F #6D4D8F
triadic
#4D4E8F #8F4D4E #4E8F4D
tetradic
#4D4E8F #8F4D6F #8F8E4D #4D8F6D
square
#4D4E8F #8F4D6F #8F8E4D #4D8F6D
split-complementary
#4D4E8F #8F6D4D #6F8F4D
monochromatic
#22233F #383867 #4D4E8F #6A6BAF #9293C4

Accessibility & contrast

On white

7.49
#4D4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4D4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E8F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E8F#FFFFFF#000000##FFFFFF
##4D4E8F1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#31528E
Tritanopia (blue-blind)
#375B67
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4d4e8f;
/* rgb */ color: rgb(77, 78, 143);
/* oklch */ color: oklch(45.5% 0.104 280.7);
Tailwind
colors: {
  custom: {
    50: '#837fb0',
    500: '#4d4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e8f;
$custom-light: #837fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e8f",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 239.091,
    "s": 30,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45511,
    "c": 0.1044,
    "h": 280.7
  },
  "luminance": 0.0901
}

Semantic roles & 50–950 ramp

primary
#4D4E8F
secondary
#B1B087
accent
#C562C6
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4D4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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