#4D48E2#4D48E2

#4D48E2 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.225 H 276.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4D48E2
RGBrgb(77, 72, 226)
HSLhsl(242, 73%, 58%)
HSVhsv(242, 68%, 89%)
CMYKcmyk(65.9%, 68.1%, 0%, 11.4%)
CIE-LABlab(40.74, 48.31, -77.37)
CIE-LCHlch(40.74, 91.21, 301.98°)
OKLaboklab(50.94% 0.0246 -0.2234)
OKLCHoklch(50.94% 0.225 276.3)
XYZxyz(19.1009, 11.7018, 73.1888)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48E2 #DDE248
analogous
#4890E2 #4D48E2 #9A48E2
triadic
#4D48E2 #E24D48 #48E24D
tetradic
#4D48E2 #E24890 #DDE248 #48E29A
square
#4D48E2 #E24890 #DDE248 #48E29A
split-complementary
#4D48E2 #E29A48 #90E248
monochromatic
#1C1898 #2620CC #4D48E2 #807DEA #B4B2F3

Accessibility & contrast

On white

6.29
#4D48E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4D48E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48E2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48E2#FFFFFF#000000##FFFFFF
##4D48E21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#0059DF
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d48e2;
/* rgb */ color: rgb(77, 72, 226);
/* oklch */ color: oklch(50.9% 0.225 276.3);
Tailwind
colors: {
  custom: {
    50: '#917cec',
    500: '#4d48e2',
    950: '#000000',
  },
}
SCSS
$custom: #4d48e2;
$custom-light: #917cec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48e2",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 241.948,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.50945,
    "c": 0.22476,
    "h": 276.3
  },
  "luminance": 0.11703
}

Semantic roles & 50–950 ramp

primary
#4D48E2
secondary
#DFE1A4
accent
#EF38E9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D48E2

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

Preview Lab → · Contrast checker → · Palette generator →

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