#4D46EF#4D46EF

#4D46EF is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.9% C 0.242 H 275.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4D46EF
RGBrgb(77, 70, 239)
HSLhsl(242, 84%, 61%)
HSVhsv(242, 71%, 94%)
CMYKcmyk(67.8%, 70.7%, 0%, 6.3%)
CIE-LABlab(41.51, 53.53, -83.46)
CIE-LCHlch(41.51, 99.15, 302.67°)
OKLaboklab(51.86% 0.0239 -0.2412)
OKLCHoklch(51.86% 0.242 275.7)
XYZxyz(20.8256, 12.1882, 82.8997)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46EF #E8EF46
analogous
#4693EF #4D46EF #A146EF
triadic
#4D46EF #EF4D46 #46EF4D
tetradic
#4D46EF #EF4693 #E8EF46 #46EFA1
square
#4D46EF #EF4693 #E8EF46 #46EFA1
split-complementary
#4D46EF #EFA146 #93EF46
monochromatic
#150FAC #1C14E4 #4D46EF #837EF4 #B9B7F9

Accessibility & contrast

On white

6.11
#4D46EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4D46EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46EF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46EF#FFFFFF#000000##FFFFFF
##4D46EF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F4
Deuteranopia (green-blind)
#005AEC
Tritanopia (blue-blind)
#007596
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d46ef;
/* rgb */ color: rgb(77, 70, 239);
/* oklch */ color: oklch(51.9% 0.242 275.7);
Tailwind
colors: {
  custom: {
    50: '#937bf6',
    500: '#4d46ef',
    950: '#000000',
  },
}
SCSS
$custom: #4d46ef;
$custom-light: #937bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46ef",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 239
  },
  "hsl": {
    "h": 242.485,
    "s": 84.08,
    "l": 60.588
  },
  "oklch": {
    "l": 0.51859,
    "c": 0.24238,
    "h": 275.7
  },
  "luminance": 0.1219
}

Semantic roles & 50–950 ramp

primary
#4D46EF
secondary
#E6E9A8
accent
#E105D7
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #4D46EF

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

Preview Lab → · Contrast checker → · Palette generator →

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