#4D48DC#4D48DC

#4D48DC is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.4% C 0.217 H 276.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4D48DC
RGBrgb(77, 72, 220)
HSLhsl(242, 68%, 57%)
HSVhsv(242, 67%, 86%)
CMYKcmyk(65%, 67.3%, 0%, 13.7%)
CIE-LABlab(40.21, 46.39, -74.81)
CIE-LCHlch(40.21, 88.03, 301.80°)
OKLaboklab(50.4% 0.0254 -0.2159)
OKLCHoklch(50.4% 0.217 276.7)
XYZxyz(18.2920, 11.3783, 68.9285)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48DC #D7DC48
analogous
#488DDC #4D48DC #9748DC
triadic
#4D48DC #DC4D48 #48DC4D
tetradic
#4D48DC #DC488D #D7DC48 #48DC97
square
#4D48DC #DC488D #D7DC48 #48DC97
split-complementary
#4D48DC #DC9748 #8DDC48
monochromatic
#1F1B8E #2A25C2 #4D48DC #7F7BE6 #B1AFF0

Accessibility & contrast

On white

6.41
#4D48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4D48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48DC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48DC#FFFFFF#000000##FFFFFF
##4D48DC1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#0058D9
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d48dc;
/* rgb */ color: rgb(77, 72, 220);
/* oklch */ color: oklch(50.4% 0.217 276.7);
Tailwind
colors: {
  custom: {
    50: '#8f7ce8',
    500: '#4d48dc',
    950: '#000000',
  },
}
SCSS
$custom: #4d48dc;
$custom-light: #8f7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48dc",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 242.027,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50403,
    "c": 0.21741,
    "h": 276.7
  },
  "luminance": 0.1138
}

Semantic roles & 50–950 ramp

primary
#4D48DC
secondary
#DCDEA2
accent
#EB3DE5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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