#4D46CF#4D46CF

#4D46CF is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 48.9% C 0.203 H 278.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4D46CF
RGBrgb(77, 70, 207)
HSLhsl(243, 59%, 54%)
HSVhsv(243, 66%, 81%)
CMYKcmyk(62.8%, 66.2%, 0%, 18.8%)
CIE-LABlab(38.66, 43.38, -69.88)
CIE-LCHlch(38.66, 82.25, 301.83°)
OKLaboklab(48.94% 0.0284 -0.2015)
OKLCHoklch(48.94% 0.203 278)
XYZxyz(16.5096, 10.4618, 60.1687)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46CF #C8CF46
analogous
#4684CF #4D46CF #9246CF
triadic
#4D46CF #CF4D46 #46CF4D
tetradic
#4D46CF #CF4684 #C8CF46 #46CF92
square
#4D46CF #CF4684 #C8CF46 #46CF92
split-complementary
#4D46CF #CF9246 #84CF46
monochromatic
#24207B #332CAB #4D46CF #7C77DC #ABA7E8

Accessibility & contrast

On white

6.79
#4D46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4D46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D46CF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46CF#FFFFFF#000000##FFFFFF
##4D46CF1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d46cf;
/* rgb */ color: rgb(77, 70, 207);
/* oklch */ color: oklch(48.9% 0.203 278.0);
Tailwind
colors: {
  custom: {
    50: '#8d7adf',
    500: '#4d46cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d46cf;
$custom-light: #8d7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46cf",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 243.066,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48937,
    "c": 0.20347,
    "h": 278
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#4D46CF
secondary
#D2D59B
accent
#E246DA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4D46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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