#4D4FA6#4D4FA6

#4D4FA6 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.137 H 278.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4D4FA6
RGBrgb(77, 79, 166)
HSLhsl(239, 37%, 48%)
HSVhsv(239, 54%, 65%)
CMYKcmyk(53.6%, 52.4%, 0%, 34.9%)
CIE-LABlab(37.70, 24.39, -47.37)
CIE-LCHlch(37.70, 53.28, 297.25°)
OKLaboklab(47.26% 0.0209 -0.1352)
OKLCHoklch(47.26% 0.137 278.8)
XYZxyz(12.7373, 9.9221, 37.3130)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FA6 #A6A44D
analogous
#4D7BA6 #4D4FA6 #784DA6
triadic
#4D4FA6 #A64D4F #4FA64D
tetradic
#4D4FA6 #A64D7B #A6A44D #4DA678
square
#4D4FA6 #A64D7B #A6A44D #4DA678
split-complementary
#4D4FA6 #A6784D #7BA64D
monochromatic
#262752 #3A3B7C #4D4FA6 #7274BE #9C9DD1

Accessibility & contrast

On white

7.04
#4D4FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4D4FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4FA6
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FA6#FFFFFF#000000##FFFFFF
##4D4FA61.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215CA9
Deuteranopia (green-blind)
#1555A4
Tritanopia (blue-blind)
#266273
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d4fa6;
/* rgb */ color: rgb(77, 79, 166);
/* oklch */ color: oklch(47.3% 0.137 278.8);
Tailwind
colors: {
  custom: {
    50: '#8680c1',
    500: '#4d4fa6',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fa6;
$custom-light: #8680c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fa6",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 238.652,
    "s": 36.626,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47257,
    "c": 0.13686,
    "h": 278.8
  },
  "luminance": 0.09923
}

Semantic roles & 50–950 ramp

primary
#4D4FA6
secondary
#BEBD91
accent
#CA5BCD
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4D4FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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