#4D48DA#4D48DA

#4D48DA is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.2% C 0.215 H 276.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4D48DA
RGBrgb(77, 72, 218)
HSLhsl(242, 66%, 57%)
HSVhsv(242, 67%, 85%)
CMYKcmyk(64.7%, 67%, 0%, 14.5%)
CIE-LABlab(40.04, 45.75, -73.95)
CIE-LCHlch(40.04, 86.96, 301.74°)
OKLaboklab(50.22% 0.0256 -0.2134)
OKLCHoklch(50.22% 0.215 276.8)
XYZxyz(18.0287, 11.2729, 67.5419)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48DA #D5DA48
analogous
#488CDA #4D48DA #9648DA
triadic
#4D48DA #DA4D48 #48DA4D
tetradic
#4D48DA #DA488C #D5DA48 #48DA96
square
#4D48DA #DA488C #D5DA48 #48DA96
split-complementary
#4D48DA #DA9648 #8CDA48
monochromatic
#201C8B #2C26BE #4D48DA #7F7BE4 #B0AEEF

Accessibility & contrast

On white

6.45
#4D48DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4D48DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48DA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48DA#FFFFFF#000000##FFFFFF
##4D48DA1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#0058D7
Tritanopia (blue-blind)
#006F8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d48da;
/* rgb */ color: rgb(77, 72, 218);
/* oklch */ color: oklch(50.2% 0.215 276.8);
Tailwind
colors: {
  custom: {
    50: '#8f7ce7',
    500: '#4d48da',
    950: '#000000',
  },
}
SCSS
$custom: #4d48da;
$custom-light: #8f7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48da",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 242.055,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50224,
    "c": 0.21494,
    "h": 276.8
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

primary
#4D48DA
secondary
#DBDDA1
accent
#E93FE3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D48DA

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

Preview Lab → · Contrast checker → · Palette generator →

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