#4D4DBE#4D4DBE

#4D4DBE is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.7% C 0.173 H 277.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#4D4DBE
RGBrgb(77, 77, 190)
HSLhsl(240, 47%, 52%)
HSVhsv(240, 59%, 75%)
CMYKcmyk(59.5%, 59.5%, 0%, 25.5%)
CIE-LABlab(38.90, 33.59, -59.60)
CIE-LCHlch(38.90, 68.41, 299.40°)
OKLaboklab(48.69% 0.0236 -0.1713)
OKLCHoklch(48.69% 0.173 277.8)
XYZxyz(15.0057, 10.6021, 49.9609)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DBE #BEBE4D
analogous
#4D86BE #4D4DBE #864DBE
triadic
#4D4DBE #BE4D4D #4DBE4D
tetradic
#4D4DBE #BE4D86 #BEBE4D #4DBE86
square
#4D4DBE #BE4D86 #BEBE4D #4DBE86
split-complementary
#4D4DBE #BE864D #86BE4D
monochromatic
#27276A #373797 #4D4DBE #7A7ACE #A7A7DF

Accessibility & contrast

On white

6.73
#4D4DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4D4DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DBE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DBE#FFFFFF#000000##FFFFFF
##4D4DBE1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#00687E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d4dbe;
/* rgb */ color: rgb(77, 77, 190);
/* oklch */ color: oklch(48.7% 0.173 277.8);
Tailwind
colors: {
  custom: {
    50: '#8a7fd2',
    500: '#4d4dbe',
    950: '#000000',
  },
}
SCSS
$custom: #4d4dbe;
$custom-light: #8a7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4dbe",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 240,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.4869,
    "c": 0.17288,
    "h": 277.8
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#4D4DBE
secondary
#CCCC9B
accent
#D652D6
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4D4DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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