#4D4BAB#4D4BAB

#4D4BAB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.149 H 279.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4D4BAB
RGBrgb(77, 75, 171)
HSLhsl(241, 39%, 48%)
HSVhsv(241, 56%, 67%)
CMYKcmyk(55%, 56.1%, 0%, 32.9%)
CIE-LABlab(37.02, 28.58, -51.44)
CIE-LCHlch(37.02, 58.85, 299.05°)
OKLaboklab(46.86% 0.0256 -0.1473)
OKLCHoklch(46.86% 0.149 279.9)
XYZxyz(12.9250, 9.5494, 39.6823)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4BAB #A9AB4B
analogous
#4B79AB #4D4BAB #7D4BAB
triadic
#4D4BAB #AB4D4B #4BAB4D
tetradic
#4D4BAB #AB4B79 #A9AB4B #4BAB7D
square
#4D4BAB #AB4B79 #A9AB4B #4BAB7D
split-complementary
#4D4BAB #AB7D4B #79AB4B
monochromatic
#272656 #3A3880 #4D4BAB #7472C1 #9E9DD4

Accessibility & contrast

On white

7.22
#4D4BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4D4BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4BAB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4BAB#FFFFFF#000000##FFFFFF
##4D4BAB1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065BAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#216173
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d4bab;
/* rgb */ color: rgb(77, 75, 171);
/* oklch */ color: oklch(46.9% 0.149 279.9);
Tailwind
colors: {
  custom: {
    50: '#877dc5',
    500: '#4d4bab',
    950: '#000000',
  },
}
SCSS
$custom: #4d4bab;
$custom-light: #877dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4bab",
  "rgb": {
    "r": 77,
    "g": 75,
    "b": 171
  },
  "hsl": {
    "h": 241.25,
    "s": 39.024,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46857,
    "c": 0.14949,
    "h": 279.9
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#4D4BAB
secondary
#BFC091
accent
#CF59CC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4D4BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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