#4D46B8#4D46B8

#4D46B8 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.174 H 280.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4D46B8
RGBrgb(77, 70, 184)
HSLhsl(244, 45%, 50%)
HSVhsv(244, 62%, 72%)
CMYKcmyk(58.2%, 62%, 0%, 27.8%)
CIE-LABlab(36.78, 35.94, -59.54)
CIE-LCHlch(36.78, 69.54, 301.12°)
OKLaboklab(46.98% 0.0305 -0.1711)
OKLCHoklch(46.98% 0.174 280.1)
XYZxyz(13.8997, 9.4178, 46.4235)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D46B8 #B1B846
analogous
#4678B8 #4D46B8 #8646B8
triadic
#4D46B8 #B84D46 #46B84D
tetradic
#4D46B8 #B84678 #B1B846 #46B886
square
#4D46B8 #B84678 #B1B846 #46B886
split-complementary
#4D46B8 #B88646 #78B846
monochromatic
#28245F #3A358C #4D46B8 #7772C9 #A29EDA

Accessibility & contrast

On white

7.28
#4D46B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4D46B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D46B8
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D46B8#FFFFFF#000000##FFFFFF
##4D46B81.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#096278
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d46b8;
/* rgb */ color: rgb(77, 70, 184);
/* oklch */ color: oklch(47.0% 0.174 280.1);
Tailwind
colors: {
  custom: {
    50: '#897ace',
    500: '#4d46b8',
    950: '#000000',
  },
}
SCSS
$custom: #4d46b8;
$custom-light: #897ace;
$custom-dark: #000000;
JSON
{
  "hex": "#4d46b8",
  "rgb": {
    "r": 77,
    "g": 70,
    "b": 184
  },
  "hsl": {
    "h": 243.684,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46982,
    "c": 0.1738,
    "h": 280.1
  },
  "luminance": 0.09419
}

Semantic roles & 50–950 ramp

primary
#4D46B8
secondary
#C4C793
accent
#D553CD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4D46B8

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

Preview Lab → · Contrast checker → · Palette generator →

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