#4D48C7#4D48C7

#4D48C7 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.6% C 0.191 H 278.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4D48C7
RGBrgb(77, 72, 199)
HSLhsl(242, 53%, 53%)
HSVhsv(242, 64%, 78%)
CMYKcmyk(61.3%, 63.8%, 0%, 22%)
CIE-LABlab(38.44, 39.60, -65.61)
CIE-LCHlch(38.44, 76.63, 301.12°)
OKLaboklab(48.57% 0.0276 -0.1889)
OKLCHoklch(48.57% 0.191 278.3)
XYZxyz(15.6834, 10.3348, 55.1901)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48C7 #C2C748
analogous
#4882C7 #4D48C7 #8C48C7
triadic
#4D48C7 #C74D48 #48C74D
tetradic
#4D48C7 #C74882 #C2C748 #48C78C
square
#4D48C7 #C74882 #C2C748 #48C78C
split-complementary
#4D48C7 #C78C48 #82C748
monochromatic
#262372 #3631A1 #4D48C7 #7B77D5 #A8A6E4

Accessibility & contrast

On white

6.85
#4D48C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4D48C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48C7
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48C7#FFFFFF#000000##FFFFFF
##4D48C71.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d48c7;
/* rgb */ color: rgb(77, 72, 199);
/* oklch */ color: oklch(48.6% 0.191 278.3);
Tailwind
colors: {
  custom: {
    50: '#8c7bd9',
    500: '#4d48c7',
    950: '#000000',
  },
}
SCSS
$custom: #4d48c7;
$custom-light: #8c7bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48c7",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 242.362,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4857,
    "c": 0.19093,
    "h": 278.3
  },
  "luminance": 0.10336
}

Semantic roles & 50–950 ramp

primary
#4D48C7
secondary
#CFD19A
accent
#DD4BD7
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D48C7

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

Preview Lab → · Contrast checker → · Palette generator →

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