#4D46DF#4D46DF

#4D46DF is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.4% C 0.223 H 276.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4D46DF
RGBrgb(77, 70, 223)
HSLhsl(243, 71%, 57%)
HSVhsv(243, 69%, 87%)
CMYKcmyk(65.5%, 68.6%, 0%, 12.5%)
CIE-LABlab(40.06, 48.49, -76.78)
CIE-LCHlch(40.06, 90.81, 302.27°)
OKLaboklab(50.37% 0.0263 -0.2217)
OKLCHoklch(50.37% 0.223 276.8)
XYZxyz(18.5657, 11.2842, 70.9974)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46DF #D8DF46
analogous
#468CDF #4D46DF #9946DF
triadic
#4D46DF #DF4D46 #46DF4D
tetradic
#4D46DF #DF468C #D8DF46 #46DF99
square
#4D46DF #DF468C #D8DF46 #46DF99
split-complementary
#4D46DF #DF9946 #8CDF46
monochromatic
#1F1991 #2A22C6 #4D46DF #7F7AE8 #B1AEF1

Accessibility & contrast

On white

6.45
#4D46DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4D46DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46DF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46DF#FFFFFF#000000##FFFFFF
##4D46DF1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E4
Deuteranopia (green-blind)
#0058DC
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d46df;
/* rgb */ color: rgb(77, 70, 223);
/* oklch */ color: oklch(50.4% 0.223 276.8);
Tailwind
colors: {
  custom: {
    50: '#907bea',
    500: '#4d46df',
    950: '#000000',
  },
}
SCSS
$custom: #4d46df;
$custom-light: #907bea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46df",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 242.745,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50372,
    "c": 0.22324,
    "h": 276.8
  },
  "luminance": 0.11286
}

Semantic roles & 50–950 ramp

primary
#4D46DF
secondary
#DCDFA2
accent
#ED3BE5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D46DF

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

Preview Lab → · Contrast checker → · Palette generator →

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