#4D48D8#4D48D8

#4D48D8 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.0% C 0.212 H 277.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#4D48D8
RGBrgb(77, 72, 216)
HSLhsl(242, 65%, 56%)
HSVhsv(242, 67%, 85%)
CMYKcmyk(64.4%, 66.7%, 0%, 15.3%)
CIE-LABlab(39.86, 45.11, -73.09)
CIE-LCHlch(39.86, 85.89, 301.68°)
OKLaboklab(50.05% 0.0259 -0.2109)
OKLCHoklch(50.05% 0.212 277)
XYZxyz(17.7686, 11.1689, 66.1719)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48D8 #D3D848
analogous
#488BD8 #4D48D8 #9548D8
triadic
#4D48D8 #D84D48 #48D84D
tetradic
#4D48D8 #D8488B #D3D848 #48D895
square
#4D48D8 #D8488B #D3D848 #48D895
split-complementary
#4D48D8 #D89548 #8BD848
monochromatic
#211D89 #2D28BB #4D48D8 #7E7AE3 #AFADEE

Accessibility & contrast

On white

6.49
#4D48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4D48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48D8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48D8#FFFFFF#000000##FFFFFF
##4D48D81.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DC
Deuteranopia (green-blind)
#0058D5
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d48d8;
/* rgb */ color: rgb(77, 72, 216);
/* oklch */ color: oklch(50.0% 0.212 277.0);
Tailwind
colors: {
  custom: {
    50: '#8f7ce5',
    500: '#4d48d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d48d8;
$custom-light: #8f7ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48d8",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 242.083,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50046,
    "c": 0.21246,
    "h": 277
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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