#4D46CC#4D46CC

#4D46CC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.7% C 0.200 H 278.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4D46CC
RGBrgb(77, 70, 204)
HSLhsl(243, 57%, 54%)
HSVhsv(243, 66%, 80%)
CMYKcmyk(62.3%, 65.7%, 0%, 20%)
CIE-LABlab(38.40, 42.41, -68.56)
CIE-LCHlch(38.40, 80.62, 301.74°)
OKLaboklab(48.67% 0.0288 -0.1976)
OKLCHoklch(48.67% 0.2 278.3)
XYZxyz(16.1463, 10.3165, 58.2554)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46CC #C5CC46
analogous
#4682CC #4D46CC #9046CC
triadic
#4D46CC #CC4D46 #46CC4D
tetradic
#4D46CC #CC4682 #C5CC46 #46CC90
square
#4D46CC #CC4682 #C5CC46 #46CC90
split-complementary
#4D46CC #CC9046 #82CC46
monochromatic
#252177 #342EA7 #4D46CC #7B76D9 #A9A6E6

Accessibility & contrast

On white

6.85
#4D46CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4D46CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46CC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46CC#FFFFFF#000000##FFFFFF
##4D46CC1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d46cc;
/* rgb */ color: rgb(77, 70, 204);
/* oklch */ color: oklch(48.7% 0.200 278.3);
Tailwind
colors: {
  custom: {
    50: '#8d7add',
    500: '#4d46cc',
    950: '#000000',
  },
}
SCSS
$custom: #4d46cc;
$custom-light: #8d7add;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46cc",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 243.134,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48674,
    "c": 0.19969,
    "h": 278.3
  },
  "luminance": 0.10318
}

Semantic roles & 50–950 ramp

primary
#4D46CC
secondary
#D1D49A
accent
#E048D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D46CC

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

Preview Lab → · Contrast checker → · Palette generator →

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