#4D46CB#4D46CB

#4D46CB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.6% C 0.198 H 278.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4D46CB
RGBrgb(77, 70, 203)
HSLhsl(243, 56%, 54%)
HSVhsv(243, 66%, 80%)
CMYKcmyk(62.1%, 65.5%, 0%, 20.4%)
CIE-LABlab(38.32, 42.09, -68.12)
CIE-LCHlch(38.32, 80.08, 301.71°)
OKLaboklab(48.59% 0.0289 -0.1963)
OKLCHoklch(48.59% 0.198 278.4)
XYZxyz(16.0268, 10.2687, 57.6258)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46CB #C4CB46
analogous
#4681CB #4D46CB #8F46CB
triadic
#4D46CB #CB4D46 #46CB4D
tetradic
#4D46CB #CB4681 #C4CB46 #46CB8F
square
#4D46CB #CB4681 #C4CB46 #46CB8F
split-complementary
#4D46CB #CB8F46 #81CB46
monochromatic
#252176 #352EA5 #4D46CB #7B76D8 #A9A6E6

Accessibility & contrast

On white

6.88
#4D46CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4D46CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46CB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46CB#FFFFFF#000000##FFFFFF
##4D46CB1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d46cb;
/* rgb */ color: rgb(77, 70, 203);
/* oklch */ color: oklch(48.6% 0.198 278.4);
Tailwind
colors: {
  custom: {
    50: '#8d7adc',
    500: '#4d46cb',
    950: '#000000',
  },
}
SCSS
$custom: #4d46cb;
$custom-light: #8d7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46cb",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 243.158,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48587,
    "c": 0.19842,
    "h": 278.4
  },
  "luminance": 0.1027
}

Semantic roles & 50–950 ramp

primary
#4D46CB
secondary
#D0D39A
accent
#DF48D7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D46CB

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

Preview Lab → · Contrast checker → · Palette generator →

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