#4D48D7#4D48D7

#4D48D7 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.0% C 0.211 H 277.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4D48D7
RGBrgb(77, 72, 215)
HSLhsl(242, 64%, 56%)
HSVhsv(242, 67%, 84%)
CMYKcmyk(64.2%, 66.5%, 0%, 15.7%)
CIE-LABlab(39.78, 44.78, -72.66)
CIE-LCHlch(39.78, 85.35, 301.65°)
OKLaboklab(49.96% 0.026 -0.2096)
OKLCHoklch(49.96% 0.211 277.1)
XYZxyz(17.6397, 11.1173, 65.4931)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48D7 #D2D748
analogous
#488BD7 #4D48D7 #9548D7
triadic
#4D48D7 #D74D48 #48D74D
tetradic
#4D48D7 #D7488B #D2D748 #48D795
square
#4D48D7 #D7488B #D2D748 #48D795
split-complementary
#4D48D7 #D79548 #8BD748
monochromatic
#211E87 #2E29B9 #4D48D7 #7E7AE2 #AFACED

Accessibility & contrast

On white

6.51
#4D48D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4D48D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48D7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48D7#FFFFFF#000000##FFFFFF
##4D48D71.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DB
Deuteranopia (green-blind)
#0058D4
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d48d7;
/* rgb */ color: rgb(77, 72, 215);
/* oklch */ color: oklch(50.0% 0.211 277.1);
Tailwind
colors: {
  custom: {
    50: '#8f7ce4',
    500: '#4d48d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d48d7;
$custom-light: #8f7ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48d7",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 242.098,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49957,
    "c": 0.21121,
    "h": 277.1
  },
  "luminance": 0.11119
}

Semantic roles & 50–950 ramp

primary
#4D48D7
secondary
#D9DBA0
accent
#E741E1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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