#4D4DDB#4D4DDB

#4D4DDB is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.1% C 0.211 H 276.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4D4DDB
RGBrgb(77, 77, 219)
HSLhsl(240, 66%, 58%)
HSVhsv(240, 65%, 86%)
CMYKcmyk(64.8%, 64.8%, 0%, 14.1%)
CIE-LABlab(41.21, 43.14, -72.60)
CIE-LCHlch(41.21, 84.45, 300.72°)
OKLaboklab(51.1% 0.0219 -0.2094)
OKLCHoklch(51.1% 0.211 276)
XYZxyz(18.4964, 11.9984, 68.3453)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4DDB #DBDB4D
analogous
#4D94DB #4D4DDB #944DDB
triadic
#4D4DDB #DB4D4D #4DDB4D
tetradic
#4D4DDB #DB4D94 #DBDB4D #4DDB94
square
#4D4DDB #DB4D94 #DBDB4D #4DDB94
split-complementary
#4D4DDB #DB944D #94DB4D
monochromatic
#1D1D90 #2727C3 #4D4DDB #8080E5 #B3B3F0

Accessibility & contrast

On white

6.18
#4D4DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4D4DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4DDB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4DDB#FFFFFF#000000##FFFFFF
##4D4DDB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d4ddb;
/* rgb */ color: rgb(77, 77, 219);
/* oklch */ color: oklch(51.1% 0.211 276.0);
Tailwind
colors: {
  custom: {
    50: '#8f7fe7',
    500: '#4d4ddb',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ddb;
$custom-light: #8f7fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ddb",
  "rgb": {
    "r": 77,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 240,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51104,
    "c": 0.21056,
    "h": 276
  },
  "luminance": 0.12
}

Semantic roles & 50–950 ramp

primary
#4D4DDB
secondary
#DEDEA6
accent
#E93FE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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