#4D48D9#4D48D9

#4D48D9 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.1% C 0.214 H 276.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4D48D9
RGBrgb(77, 72, 217)
HSLhsl(242, 66%, 57%)
HSVhsv(242, 67%, 85%)
CMYKcmyk(64.5%, 66.8%, 0%, 14.9%)
CIE-LABlab(39.95, 45.43, -73.52)
CIE-LCHlch(39.95, 86.42, 301.71°)
OKLaboklab(50.14% 0.0257 -0.2121)
OKLCHoklch(50.14% 0.214 276.9)
XYZxyz(17.8982, 11.2208, 66.8548)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48D9 #D4D948
analogous
#488CD9 #4D48D9 #9648D9
triadic
#4D48D9 #D94D48 #48D94D
tetradic
#4D48D9 #D9488C #D4D948 #48D996
square
#4D48D9 #D9488C #D4D948 #48D996
split-complementary
#4D48D9 #D99648 #8CD948
monochromatic
#201D8A #2C27BD #4D48D9 #7E7BE4 #B0ADEE

Accessibility & contrast

On white

6.47
#4D48D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4D48D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48D9
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48D9#FFFFFF#000000##FFFFFF
##4D48D91.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#0058D6
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d48d9;
/* rgb */ color: rgb(77, 72, 217);
/* oklch */ color: oklch(50.1% 0.214 276.9);
Tailwind
colors: {
  custom: {
    50: '#8f7ce6',
    500: '#4d48d9',
    950: '#000000',
  },
}
SCSS
$custom: #4d48d9;
$custom-light: #8f7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48d9",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 242.069,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.2137,
    "h": 276.9
  },
  "luminance": 0.11222
}

Semantic roles & 50–950 ramp

primary
#4D48D9
secondary
#DADCA1
accent
#E93FE3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D48D9

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

Preview Lab → · Contrast checker → · Palette generator →

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