#4D48C8#4D48C8

#4D48C8 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.7% C 0.192 H 278.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4D48C8
RGBrgb(77, 72, 200)
HSLhsl(242, 54%, 53%)
HSVhsv(242, 64%, 78%)
CMYKcmyk(61.5%, 64%, 0%, 21.6%)
CIE-LABlab(38.52, 39.93, -66.06)
CIE-LCHlch(38.52, 77.19, 301.15°)
OKLaboklab(48.65% 0.0275 -0.1902)
OKLCHoklch(48.65% 0.192 278.2)
XYZxyz(15.7999, 10.3814, 55.8036)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48C8 #C3C848
analogous
#4883C8 #4D48C8 #8D48C8
triadic
#4D48C8 #C84D48 #48C84D
tetradic
#4D48C8 #C84883 #C3C848 #48C88D
square
#4D48C8 #C84883 #C3C848 #48C88D
split-complementary
#4D48C8 #C88D48 #83C848
monochromatic
#262373 #3531A2 #4D48C8 #7B77D6 #A9A6E4

Accessibility & contrast

On white

6.83
#4D48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4D48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48C8
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48C8#FFFFFF#000000##FFFFFF
##4D48C81.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d48c8;
/* rgb */ color: rgb(77, 72, 200);
/* oklch */ color: oklch(48.7% 0.192 278.2);
Tailwind
colors: {
  custom: {
    50: '#8c7bda',
    500: '#4d48c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d48c8;
$custom-light: #8c7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48c8",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 242.344,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48654,
    "c": 0.19223,
    "h": 278.2
  },
  "luminance": 0.10383
}

Semantic roles & 50–950 ramp

primary
#4D48C8
secondary
#CFD19A
accent
#DD4BD7
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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