#4D46E8#4D46E8

#4D46E8 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.2% C 0.234 H 276.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4D46E8
RGBrgb(77, 70, 232)
HSLhsl(243, 78%, 59%)
HSVhsv(243, 70%, 91%)
CMYKcmyk(66.8%, 69.8%, 0%, 9%)
CIE-LABlab(40.87, 51.34, -80.57)
CIE-LCHlch(40.87, 95.53, 302.50°)
OKLaboklab(51.2% 0.025 -0.2327)
OKLCHoklch(51.2% 0.234 276.1)
XYZxyz(19.8114, 11.7825, 77.5585)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46E8 #E1E846
analogous
#4690E8 #4D46E8 #9E46E8
triadic
#4D46E8 #E84D46 #46E84D
tetradic
#4D46E8 #E84690 #E1E846 #46E89E
square
#4D46E8 #E84690 #E1E846 #46E89E
split-complementary
#4D46E8 #E89E46 #90E846
monochromatic
#1A14A0 #231BD6 #4D46E8 #817CEF #B6B3F6

Accessibility & contrast

On white

6.26
#4D46E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4D46E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46E8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46E8#FFFFFF#000000##FFFFFF
##4D46E81.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067ED
Deuteranopia (green-blind)
#0059E5
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d46e8;
/* rgb */ color: rgb(77, 70, 232);
/* oklch */ color: oklch(51.2% 0.234 276.1);
Tailwind
colors: {
  custom: {
    50: '#927bf1',
    500: '#4d46e8',
    950: '#000000',
  },
}
SCSS
$custom: #4d46e8;
$custom-light: #927bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46e8",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 232
  },
  "hsl": {
    "h": 242.593,
    "s": 77.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.23408,
    "h": 276.1
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#4D46E8
secondary
#E2E5A5
accent
#F433EC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4D46E8

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

Preview Lab → · Contrast checker → · Palette generator →

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