#4D4BAE#4D4BAE

#4D4BAE is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.154 H 279.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4D4BAE
RGBrgb(77, 75, 174)
HSLhsl(241, 40%, 49%)
HSVhsv(241, 57%, 68%)
CMYKcmyk(55.7%, 56.9%, 0%, 31.8%)
CIE-LABlab(37.23, 29.56, -52.88)
CIE-LCHlch(37.23, 60.58, 299.21°)
OKLaboklab(47.08% 0.0257 -0.1515)
OKLCHoklch(47.08% 0.154 279.6)
XYZxyz(13.2142, 9.6651, 41.2054)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4BAE #ACAE4B
analogous
#4B7BAE #4D4BAE #7F4BAE
triadic
#4D4BAE #AE4D4B #4BAE4D
tetradic
#4D4BAE #AE4B7B #ACAE4B #4BAE7F
square
#4D4BAE #AE4B7B #ACAE4B #4BAE7F
split-complementary
#4D4BAE #AE7F4B #7BAE4B
monochromatic
#272658 #3A3983 #4D4BAE #7573C3 #9F9ED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D4BAE#FFFFFF#000000##FFFFFF
##4D4BAE1.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)
#005BB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#1D6275
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d4bae;
/* rgb */ color: rgb(77, 75, 174);
/* oklch */ color: oklch(47.1% 0.154 279.6);
Tailwind
colors: {
  custom: {
    50: '#877dc7',
    500: '#4d4bae',
    950: '#000000',
  },
}
SCSS
$custom: #4d4bae;
$custom-light: #877dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4bae",
  "rgb": {
    "r": 77,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 241.212,
    "s": 39.759,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47083,
    "c": 0.15366,
    "h": 279.6
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#4D4BAE
secondary
#C1C293
accent
#D058CD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4D4BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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