#4D46BE#4D46BE

#4D46BE is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.5% C 0.182 H 279.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4D46BE
RGBrgb(77, 70, 190)
HSLhsl(244, 48%, 51%)
HSVhsv(244, 63%, 75%)
CMYKcmyk(59.5%, 63.2%, 0%, 25.5%)
CIE-LABlab(37.25, 37.89, -62.29)
CIE-LCHlch(37.25, 72.90, 301.31°)
OKLaboklab(47.48% 0.0301 -0.1792)
OKLCHoklch(47.48% 0.182 279.5)
XYZxyz(14.5420, 9.6748, 49.8063)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46BE #B7BE46
analogous
#467BBE #4D46BE #8946BE
triadic
#4D46BE #BE4D46 #46BE4D
tetradic
#4D46BE #BE467B #B7BE46 #46BE89
square
#4D46BE #BE467B #B7BE46 #46BE89
split-complementary
#4D46BE #BE8946 #7BBE46
monochromatic
#282466 #393493 #4D46BE #7973CE #A4A1DE

Accessibility & contrast

On white

7.15
#4D46BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4D46BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D46BE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46BE#FFFFFF#000000##FFFFFF
##4D46BE1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d46be;
/* rgb */ color: rgb(77, 70, 190);
/* oklch */ color: oklch(47.5% 0.182 279.5);
Tailwind
colors: {
  custom: {
    50: '#8a7ad3',
    500: '#4d46be',
    950: '#000000',
  },
}
SCSS
$custom: #4d46be;
$custom-light: #8a7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46be",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 243.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47479,
    "c": 0.18169,
    "h": 279.5
  },
  "luminance": 0.09676
}

Semantic roles & 50–950 ramp

primary
#4D46BE
secondary
#C7CA95
accent
#D850D0
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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