#4D46CA#4D46CA

#4D46CA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.5% C 0.197 H 278.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4D46CA
RGBrgb(77, 70, 202)
HSLhsl(243, 55%, 53%)
HSVhsv(243, 65%, 79%)
CMYKcmyk(61.9%, 65.3%, 0%, 20.8%)
CIE-LABlab(38.24, 41.77, -67.68)
CIE-LCHlch(38.24, 79.53, 301.68°)
OKLaboklab(48.5% 0.029 -0.195)
OKLCHoklch(48.5% 0.197 278.4)
XYZxyz(15.9080, 10.2211, 57.0002)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46CA #C3CA46
analogous
#4681CA #4D46CA #8F46CA
triadic
#4D46CA #CA4D46 #46CA4D
tetradic
#4D46CA #CA4681 #C3CA46 #46CA8F
square
#4D46CA #CA4681 #C3CA46 #46CA8F
split-complementary
#4D46CA #CA8F46 #81CA46
monochromatic
#262174 #352FA4 #4D46CA #7B76D8 #A9A5E5

Accessibility & contrast

On white

6.90
#4D46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4D46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46CA
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46CA#FFFFFF#000000##FFFFFF
##4D46CA1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d46ca;
/* rgb */ color: rgb(77, 70, 202);
/* oklch */ color: oklch(48.5% 0.197 278.4);
Tailwind
colors: {
  custom: {
    50: '#8c7adb',
    500: '#4d46ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d46ca;
$custom-light: #8c7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46ca",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 243.182,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48501,
    "c": 0.19715,
    "h": 278.4
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#4D46CA
secondary
#CFD29A
accent
#DF49D7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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