#4D48D2#4D48D2

#4D48D2 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.5% C 0.205 H 277.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4D48D2
RGBrgb(77, 72, 210)
HSLhsl(242, 61%, 55%)
HSVhsv(242, 66%, 82%)
CMYKcmyk(63.3%, 65.7%, 0%, 17.6%)
CIE-LABlab(39.35, 43.17, -70.48)
CIE-LCHlch(39.35, 82.65, 301.49°)
OKLaboklab(49.52% 0.0265 -0.2032)
OKLCHoklch(49.52% 0.205 277.4)
XYZxyz(17.0070, 10.8643, 62.1611)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48D2 #CDD248
analogous
#4888D2 #4D48D2 #9248D2
triadic
#4D48D2 #D24D48 #48D24D
tetradic
#4D48D2 #D24888 #CDD248 #48D292
square
#4D48D2 #D24888 #CDD248 #48D292
split-complementary
#4D48D2 #D29248 #88D248
monochromatic
#232080 #302CB1 #4D48D2 #7D79DE #ADAAEA

Accessibility & contrast

On white

6.62
#4D48D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4D48D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48D2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48D2#FFFFFF#000000##FFFFFF
##4D48D21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0057CF
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d48d2;
/* rgb */ color: rgb(77, 72, 210);
/* oklch */ color: oklch(49.5% 0.205 277.4);
Tailwind
colors: {
  custom: {
    50: '#8e7ce1',
    500: '#4d48d2',
    950: '#000000',
  },
}
SCSS
$custom: #4d48d2;
$custom-light: #8e7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48d2",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 242.174,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49517,
    "c": 0.20496,
    "h": 277.4
  },
  "luminance": 0.10866
}

Semantic roles & 50–950 ramp

primary
#4D48D2
secondary
#D6D89E
accent
#E444DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4D48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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