#4D46BA#4D46BA

#4D46BA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.176 H 279.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4D46BA
RGBrgb(77, 70, 186)
HSLhsl(244, 46%, 50%)
HSVhsv(244, 62%, 73%)
CMYKcmyk(58.6%, 62.4%, 0%, 27.1%)
CIE-LABlab(36.93, 36.59, -60.46)
CIE-LCHlch(36.93, 70.67, 301.18°)
OKLaboklab(47.15% 0.0303 -0.1738)
OKLCHoklch(47.15% 0.176 279.9)
XYZxyz(14.1109, 9.5023, 47.5354)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46BA #B3BA46
analogous
#4679BA #4D46BA #8746BA
triadic
#4D46BA #BA4D46 #46BA4D
tetradic
#4D46BA #BA4679 #B3BA46 #46BA87
square
#4D46BA #BA4679 #B3BA46 #46BA87
split-complementary
#4D46BA #BA8746 #79BA46
monochromatic
#282461 #3A358E #4D46BA #7873CB #A39FDB

Accessibility & contrast

On white

7.24
#4D46BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4D46BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D46BA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46BA#FFFFFF#000000##FFFFFF
##4D46BA1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#026379
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d46ba;
/* rgb */ color: rgb(77, 70, 186);
/* oklch */ color: oklch(47.1% 0.176 279.9);
Tailwind
colors: {
  custom: {
    50: '#8a7ad0',
    500: '#4d46ba',
    950: '#000000',
  },
}
SCSS
$custom: #4d46ba;
$custom-light: #8a7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46ba",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 243.621,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47146,
    "c": 0.17644,
    "h": 279.9
  },
  "luminance": 0.09503
}

Semantic roles & 50–950 ramp

primary
#4D46BA
secondary
#C5C894
accent
#D552CD
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4D46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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