#4D4DAF#4D4DAF

#4D4DAF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.152 H 278.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4D4DAF
RGBrgb(77, 77, 175)
HSLhsl(240, 39%, 49%)
HSVhsv(240, 56%, 69%)
CMYKcmyk(56%, 56%, 0%, 31.4%)
CIE-LABlab(37.81, 28.63, -52.55)
CIE-LCHlch(37.81, 59.84, 298.58°)
OKLaboklab(47.53% 0.0236 -0.1505)
OKLCHoklch(47.53% 0.152 278.9)
XYZxyz(13.4499, 9.9798, 41.7667)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DAF #AFAF4D
analogous
#4D7EAF #4D4DAF #7E4DAF
triadic
#4D4DAF #AF4D4D #4DAF4D
tetradic
#4D4DAF #AF4D7E #AFAF4D #4DAF7E
square
#4D4DAF #AF4D7E #AFAF4D #4DAF7E
split-complementary
#4D4DAF #AF7E4D #7EAF4D
monochromatic
#28285A #3A3A85 #4D4DAF #7676C3 #A1A1D6

Accessibility & contrast

On white

7.01
#4D4DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4D4DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DAF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DAF#FFFFFF#000000##FFFFFF
##4D4DAF1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055DB2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#1B6476
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d4daf;
/* rgb */ color: rgb(77, 77, 175);
/* oklch */ color: oklch(47.5% 0.152 278.9);
Tailwind
colors: {
  custom: {
    50: '#877fc8',
    500: '#4d4daf',
    950: '#000000',
  },
}
SCSS
$custom: #4d4daf;
$custom-light: #877fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4daf",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47531,
    "c": 0.15234,
    "h": 278.9
  },
  "luminance": 0.09981
}

Semantic roles & 50–950 ramp

primary
#4D4DAF
secondary
#C3C395
accent
#CF59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4D4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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