#4D4CDB#4D4CDB

#4D4CDB is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.9% C 0.212 H 276.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4D4CDB
RGBrgb(77, 76, 219)
HSLhsl(240, 67%, 58%)
HSVhsv(240, 65%, 86%)
CMYKcmyk(64.8%, 65.3%, 0%, 14.1%)
CIE-LABlab(40.99, 43.73, -72.96)
CIE-LCHlch(40.99, 85.06, 300.94°)
OKLaboklab(50.94% 0.0226 -0.2105)
OKLCHoklch(50.94% 0.212 276.1)
XYZxyz(18.4270, 11.8596, 68.3221)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CDB #DADB4C
analogous
#4C92DB #4D4CDB #954CDB
triadic
#4D4CDB #DB4D4C #4CDB4D
tetradic
#4D4CDB #DB4C92 #DADB4C #4CDB95
square
#4D4CDB #DB4C92 #DADB4C #4CDB95
split-complementary
#4D4CDB #DB954C #92DB4C
monochromatic
#1E1D90 #2827C3 #4D4CDB #807FE5 #B2B2EF

Accessibility & contrast

On white

6.23
#4D4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4D4CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CDB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CDB#FFFFFF#000000##FFFFFF
##4D4CDB1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005AD8
Tritanopia (blue-blind)
#00718D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d4cdb;
/* rgb */ color: rgb(77, 76, 219);
/* oklch */ color: oklch(50.9% 0.212 276.1);
Tailwind
colors: {
  custom: {
    50: '#8f7fe7',
    500: '#4d4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cdb;
$custom-light: #8f7fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cdb",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 240.42,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.50943,
    "c": 0.2117,
    "h": 276.1
  },
  "luminance": 0.11861
}

Semantic roles & 50–950 ramp

primary
#4D4CDB
secondary
#DEDEA5
accent
#E93EE8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4D4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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