#4D4FDC#4D4FDC

#4D4FDC is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.5% C 0.210 H 275.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4D4FDC
RGBrgb(77, 79, 220)
HSLhsl(239, 67%, 58%)
HSVhsv(239, 65%, 86%)
CMYKcmyk(65%, 64.1%, 0%, 13.7%)
CIE-LABlab(41.74, 42.27, -72.30)
CIE-LCHlch(41.74, 83.75, 300.31°)
OKLaboklab(51.52% 0.0203 -0.2085)
OKLCHoklch(51.52% 0.21 275.6)
XYZxyz(18.7706, 12.3354, 69.0881)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FDC #DCDA4D
analogous
#4D96DC #4D4FDC #924DDC
triadic
#4D4FDC #DC4D4F #4FDC4D
tetradic
#4D4FDC #DC4D96 #DCDA4D #4DDC92
square
#4D4FDC #DC4D96 #DCDA4D #4DDC92
split-complementary
#4D4FDC #DC924D #96DC4D
monochromatic
#1D1E92 #2729C5 #4D4FDC #8082E6 #B3B4F0

Accessibility & contrast

On white

6.06
#4D4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4D4FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FDC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FDC#FFFFFF#000000##FFFFFF
##4D4FDC1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d4fdc;
/* rgb */ color: rgb(77, 79, 220);
/* oklch */ color: oklch(51.5% 0.210 275.6);
Tailwind
colors: {
  custom: {
    50: '#8f81e8',
    500: '#4d4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fdc;
$custom-light: #8f81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fdc",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 239.161,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51516,
    "c": 0.20952,
    "h": 275.6
  },
  "luminance": 0.12337
}

Semantic roles & 50–950 ramp

primary
#4D4FDC
secondary
#DFDEA6
accent
#E83EEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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