#4D4FA3#4D4FA3

#4D4FA3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.133 H 279.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4D4FA3
RGBrgb(77, 79, 163)
HSLhsl(239, 36%, 47%)
HSVhsv(239, 53%, 64%)
CMYKcmyk(52.8%, 51.5%, 0%, 36.1%)
CIE-LABlab(37.51, 23.41, -45.89)
CIE-LCHlch(37.51, 51.52, 297.02°)
OKLaboklab(47.05% 0.0207 -0.1309)
OKLCHoklch(47.05% 0.133 279)
XYZxyz(12.4654, 9.8133, 35.8805)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FA3 #A3A14D
analogous
#4D7AA3 #4D4FA3 #764DA3
triadic
#4D4FA3 #A34D4F #4FA34D
tetradic
#4D4FA3 #A34D7A #A3A14D #4DA376
square
#4D4FA3 #A34D7A #A3A14D #4DA376
split-complementary
#4D4FA3 #A3764D #7AA34D
monochromatic
#262750 #393B79 #4D4FA3 #7173BC #9B9CD0

Accessibility & contrast

On white

7.09
#4D4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4D4FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4FA3
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FA3#FFFFFF#000000##FFFFFF
##4D4FA31.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA6
Deuteranopia (green-blind)
#1B55A1
Tritanopia (blue-blind)
#296271
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d4fa3;
/* rgb */ color: rgb(77, 79, 163);
/* oklch */ color: oklch(47.0% 0.133 279.0);
Tailwind
colors: {
  custom: {
    50: '#8580bf',
    500: '#4d4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fa3;
$custom-light: #8580bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fa3",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 238.605,
    "s": 35.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47046,
    "c": 0.13254,
    "h": 279
  },
  "luminance": 0.09814
}

Semantic roles & 50–950 ramp

primary
#4D4FA3
secondary
#BCBB90
accent
#C95CCC
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4D4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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