#4D46DB#4D46DB

#4D46DB is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.0% C 0.218 H 277.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#4D46DB
RGBrgb(77, 70, 219)
HSLhsl(243, 67%, 57%)
HSVhsv(243, 68%, 86%)
CMYKcmyk(64.8%, 68%, 0%, 14.1%)
CIE-LABlab(39.70, 47.22, -75.08)
CIE-LCHlch(39.70, 88.69, 302.17°)
OKLaboklab(50.01% 0.0269 -0.2167)
OKLCHoklch(50.01% 0.218 277.1)
XYZxyz(18.0328, 11.0710, 68.1907)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46DB #D4DB46
analogous
#468ADB #4D46DB #9846DB
triadic
#4D46DB #DB4D46 #46DB4D
tetradic
#4D46DB #DB468A #D4DB46 #46DB98
square
#4D46DB #DB468A #D4DB46 #46DB98
split-complementary
#4D46DB #DB9846 #8ADB46
monochromatic
#201B8B #2C25BF #4D46DB #7E79E5 #B0ACEF

Accessibility & contrast

On white

6.53
#4D46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4D46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46DB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46DB#FFFFFF#000000##FFFFFF
##4D46DB1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#0057D8
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d46db;
/* rgb */ color: rgb(77, 70, 219);
/* oklch */ color: oklch(50.0% 0.218 277.1);
Tailwind
colors: {
  custom: {
    50: '#8f7be7',
    500: '#4d46db',
    950: '#000000',
  },
}
SCSS
$custom: #4d46db;
$custom-light: #8f7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46db",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 242.819,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50008,
    "c": 0.21836,
    "h": 277.1
  },
  "luminance": 0.11073
}

Semantic roles & 50–950 ramp

primary
#4D46DB
secondary
#DADDA0
accent
#EA3DE2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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