#4D48C9#4D48C9

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

Color values

HEX#4D48C9
RGBrgb(77, 72, 201)
HSLhsl(242, 54%, 54%)
HSVhsv(242, 64%, 79%)
CMYKcmyk(61.7%, 64.2%, 0%, 21.2%)
CIE-LABlab(38.60, 40.25, -66.50)
CIE-LCHlch(38.60, 77.74, 301.19°)
OKLaboklab(48.74% 0.0274 -0.1916)
OKLCHoklch(48.74% 0.194 278.1)
XYZxyz(15.9172, 10.4283, 56.4211)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48C9 #C4C948
analogous
#4883C9 #4D48C9 #8D48C9
triadic
#4D48C9 #C94D48 #48C94D
tetradic
#4D48C9 #C94883 #C4C948 #48C98D
square
#4D48C9 #C94883 #C4C948 #48C98D
split-complementary
#4D48C9 #C98D48 #83C948
monochromatic
#252274 #3530A4 #4D48C9 #7B77D7 #A9A7E5

Accessibility & contrast

On white

6.80
#4D48C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4D48C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D48C9
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48C9#FFFFFF#000000##FFFFFF
##4D48C91.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0056C6
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d48c9;
/* rgb */ color: rgb(77, 72, 201);
/* oklch */ color: oklch(48.7% 0.194 278.1);
Tailwind
colors: {
  custom: {
    50: '#8c7bda',
    500: '#4d48c9',
    950: '#000000',
  },
}
SCSS
$custom: #4d48c9;
$custom-light: #8c7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48c9",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 201
  },
  "hsl": {
    "h": 242.326,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4874,
    "c": 0.19351,
    "h": 278.1
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#4D48C9
secondary
#D0D29B
accent
#DE4AD8
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D48C9

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

Preview Lab → · Contrast checker → · Palette generator →

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