#4D48E1#4D48E1

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

Color values

HEX#4D48E1
RGBrgb(77, 72, 225)
HSLhsl(242, 72%, 58%)
HSVhsv(242, 68%, 88%)
CMYKcmyk(65.8%, 68%, 0%, 11.8%)
CIE-LABlab(40.65, 47.99, -76.95)
CIE-LCHlch(40.65, 90.69, 301.95°)
OKLaboklab(50.85% 0.0247 -0.2222)
OKLCHoklch(50.85% 0.224 276.3)
XYZxyz(18.9641, 11.6471, 72.4683)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48E1 #DCE148
analogous
#488FE1 #4D48E1 #9948E1
triadic
#4D48E1 #E14D48 #48E14D
tetradic
#4D48E1 #E1488F #DCE148 #48E199
square
#4D48E1 #E1488F #DCE148 #48E199
split-complementary
#4D48E1 #E19948 #8FE148
monochromatic
#1D1996 #2721CB #4D48E1 #807DEA #B3B1F2

Accessibility & contrast

On white

6.31
#4D48E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4D48E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48E1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48E1#FFFFFF#000000##FFFFFF
##4D48E11.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E6
Deuteranopia (green-blind)
#0059DE
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d48e1;
/* rgb */ color: rgb(77, 72, 225);
/* oklch */ color: oklch(50.9% 0.224 276.3);
Tailwind
colors: {
  custom: {
    50: '#907cec',
    500: '#4d48e1',
    950: '#000000',
  },
}
SCSS
$custom: #4d48e1;
$custom-light: #907cec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48e1",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 241.961,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.50854,
    "c": 0.22353,
    "h": 276.3
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D48E1

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

Preview Lab → · Contrast checker → · Palette generator →

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