#4D46CD#4D46CD

#4D46CD is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.8% C 0.201 H 278.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4D46CD
RGBrgb(77, 70, 205)
HSLhsl(243, 57%, 54%)
HSVhsv(243, 66%, 80%)
CMYKcmyk(62.4%, 65.9%, 0%, 19.6%)
CIE-LABlab(38.49, 42.74, -69.00)
CIE-LCHlch(38.49, 81.17, 301.77°)
OKLaboklab(48.76% 0.0287 -0.1989)
OKLCHoklch(48.76% 0.201 278.2)
XYZxyz(16.2666, 10.3646, 58.8891)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46CD #C6CD46
analogous
#4683CD #4D46CD #9146CD
triadic
#4D46CD #CD4D46 #46CD4D
tetradic
#4D46CD #CD4683 #C6CD46 #46CD91
square
#4D46CD #CD4683 #C6CD46 #46CD91
split-complementary
#4D46CD #CD9146 #83CD46
monochromatic
#252078 #342DA8 #4D46CD #7B76DA #AAA6E7

Accessibility & contrast

On white

6.83
#4D46CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4D46CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46CD
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46CD#FFFFFF#000000##FFFFFF
##4D46CD1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d46cd;
/* rgb */ color: rgb(77, 70, 205);
/* oklch */ color: oklch(48.8% 0.201 278.2);
Tailwind
colors: {
  custom: {
    50: '#8d7add',
    500: '#4d46cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d46cd;
$custom-light: #8d7add;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46cd",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 243.111,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.20095,
    "h": 278.2
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#4D46CD
secondary
#D1D49B
accent
#E147D9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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