#4D4FDF#4D4FDF

#4D4FDF is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.8% C 0.213 H 275.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4D4FDF
RGBrgb(77, 79, 223)
HSLhsl(239, 70%, 59%)
HSVhsv(239, 65%, 87%)
CMYKcmyk(65.5%, 64.6%, 0%, 12.5%)
CIE-LABlab(41.99, 43.26, -73.61)
CIE-LCHlch(41.99, 85.38, 300.44°)
OKLaboklab(51.78% 0.02 -0.2124)
OKLCHoklch(51.78% 0.213 275.4)
XYZxyz(19.1715, 12.4958, 71.1993)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FDF #DFDD4D
analogous
#4D98DF #4D4FDF #944DDF
triadic
#4D4FDF #DF4D4F #4FDF4D
tetradic
#4D4FDF #DF4D98 #DFDD4D #4DDF94
square
#4D4FDF #DF4D98 #DFDD4D #4DDF94
split-complementary
#4D4FDF #DF944D #98DF4D
monochromatic
#1B1D97 #2427CA #4D4FDF #8182E8 #B5B6F2

Accessibility & contrast

On white

6.00
#4D4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4D4FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FDF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FDF#FFFFFF#000000##FFFFFF
##4D4FDF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#005DDC
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d4fdf;
/* rgb */ color: rgb(77, 79, 223);
/* oklch */ color: oklch(51.8% 0.213 275.4);
Tailwind
colors: {
  custom: {
    50: '#9081ea',
    500: '#4d4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fdf;
$custom-light: #9081ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fdf",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 239.178,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.2133,
    "h": 275.4
  },
  "luminance": 0.12497
}

Semantic roles & 50–950 ramp

primary
#4D4FDF
secondary
#E1E0A7
accent
#EA3BEC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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