#4D4EB0#4D4EB0

#4D4EB0 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.152 H 278.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4D4EB0
RGBrgb(77, 78, 176)
HSLhsl(239, 39%, 50%)
HSVhsv(239, 56%, 69%)
CMYKcmyk(56.2%, 55.7%, 0%, 31%)
CIE-LABlab(38.13, 28.33, -52.62)
CIE-LCHlch(38.13, 59.76, 298.30°)
OKLaboklab(47.79% 0.0225 -0.1507)
OKLCHoklch(47.79% 0.152 278.5)
XYZxyz(13.6190, 10.1602, 42.3094)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EB0 #B0AF4D
analogous
#4D80B0 #4D4EB0 #7E4DB0
triadic
#4D4EB0 #B04D4E #4EB04D
tetradic
#4D4EB0 #B04D80 #B0AF4D #4DB07E
square
#4D4EB0 #B04D80 #B0AF4D #4DB07E
split-complementary
#4D4EB0 #B07E4D #80B04D
monochromatic
#28285B #3A3B85 #4D4EB0 #7778C3 #A1A2D6

Accessibility & contrast

On white

6.93
#4D4EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4D4EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4EB0
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EB0#FFFFFF#000000##FFFFFF
##4D4EB01.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085EB3
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#196577
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d4eb0;
/* rgb */ color: rgb(77, 78, 176);
/* oklch */ color: oklch(47.8% 0.152 278.5);
Tailwind
colors: {
  custom: {
    50: '#877fc8',
    500: '#4d4eb0',
    950: '#000000',
  },
}
SCSS
$custom: #4d4eb0;
$custom-light: #877fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4eb0",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 239.394,
    "s": 39.13,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47794,
    "c": 0.15238,
    "h": 278.5
  },
  "luminance": 0.10161
}

Semantic roles & 50–950 ramp

primary
#4D4EB0
secondary
#C3C396
accent
#CE59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4D4EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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