#4D48B7#4D48B7

#4D48B7 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.170 H 279.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4D48B7
RGBrgb(77, 72, 183)
HSLhsl(243, 44%, 50%)
HSVhsv(243, 61%, 72%)
CMYKcmyk(57.9%, 60.7%, 0%, 28.2%)
CIE-LABlab(37.17, 34.39, -58.31)
CIE-LCHlch(37.17, 67.69, 300.53°)
OKLaboklab(47.25% 0.0286 -0.1675)
OKLCHoklch(47.25% 0.17 279.7)
XYZxyz(13.9225, 9.6305, 45.9158)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48B7 #B2B748
analogous
#487AB7 #4D48B7 #8548B7
triadic
#4D48B7 #B74D48 #48B74D
tetradic
#4D48B7 #B7487A #B2B748 #48B785
square
#4D48B7 #B7487A #B2B748 #48B785
split-complementary
#4D48B7 #B78548 #7AB748
monochromatic
#28255F #3B378B #4D48B7 #7874C8 #A2A0DA

Accessibility & contrast

On white

7.18
#4D48B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4D48B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D48B7
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48B7#FFFFFF#000000##FFFFFF
##4D48B71.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#0C6378
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d48b7;
/* rgb */ color: rgb(77, 72, 183);
/* oklch */ color: oklch(47.2% 0.170 279.7);
Tailwind
colors: {
  custom: {
    50: '#897bcd',
    500: '#4d48b7',
    950: '#000000',
  },
}
SCSS
$custom: #4d48b7;
$custom-light: #897bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48b7",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 242.703,
    "s": 43.529,
    "l": 50
  },
  "oklch": {
    "l": 0.47247,
    "c": 0.1699,
    "h": 279.7
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#4D48B7
secondary
#C4C695
accent
#D355CE
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4D48B7

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

Preview Lab → · Contrast checker → · Palette generator →

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