#4D46C8#4D46C8

#4D46C8 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.3% C 0.195 H 278.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4D46C8
RGBrgb(77, 70, 200)
HSLhsl(243, 54%, 53%)
HSVhsv(243, 65%, 78%)
CMYKcmyk(61.5%, 65%, 0%, 21.6%)
CIE-LABlab(38.07, 41.12, -66.79)
CIE-LCHlch(38.07, 78.43, 301.62°)
OKLaboklab(48.33% 0.0292 -0.1924)
OKLCHoklch(48.33% 0.195 278.6)
XYZxyz(15.6727, 10.1270, 55.7612)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46C8 #C1C846
analogous
#4680C8 #4D46C8 #8E46C8
triadic
#4D46C8 #C84D46 #46C84D
tetradic
#4D46C8 #C84680 #C1C846 #46C88E
square
#4D46C8 #C84680 #C1C846 #46C88E
split-complementary
#4D46C8 #C88E46 #80C846
monochromatic
#262272 #3630A1 #4D46C8 #7A75D6 #A8A4E4

Accessibility & contrast

On white

6.94
#4D46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4D46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46C8
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46C8#FFFFFF#000000##FFFFFF
##4D46C81.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d46c8;
/* rgb */ color: rgb(77, 70, 200);
/* oklch */ color: oklch(48.3% 0.195 278.6);
Tailwind
colors: {
  custom: {
    50: '#8c7ada',
    500: '#4d46c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d46c8;
$custom-light: #8c7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46c8",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 243.231,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48328,
    "c": 0.19461,
    "h": 278.6
  },
  "luminance": 0.10128
}

Semantic roles & 50–950 ramp

primary
#4D46C8
secondary
#CED199
accent
#DE4AD6
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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