#4948CD#4948CD

#4948CD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.8% C 0.200 H 276.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4948CD
RGBrgb(73, 72, 205)
HSLhsl(240, 57%, 54%)
HSVhsv(240, 65%, 80%)
CMYKcmyk(64.4%, 64.9%, 0%, 19.6%)
CIE-LABlab(38.65, 40.98, -68.75)
CIE-LCHlch(38.65, 80.03, 300.80°)
OKLaboklab(48.81% 0.0222 -0.1983)
OKLCHoklch(48.81% 0.2 276.4)
XYZxyz(16.0809, 10.4576, 58.9169)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4948CD #CCCD48
analogous
#488ACD #4948CD #8C48CD
triadic
#4948CD #CD4948 #48CD49
tetradic
#4948CD #CD488A #CCCD48 #48CD8C
square
#4948CD #CD488A #CCCD48 #48CD8C
split-complementary
#4948CD #CD8C48 #8ACD48
monochromatic
#222179 #2F2EA9 #4948CD #7978DA #A9A8E7

Accessibility & contrast

On white

6.79
#4948CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4948CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4948CD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4948CD#FFFFFF#000000##FFFFFF
##4948CD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4948cd;
/* rgb */ color: rgb(73, 72, 205);
/* oklch */ color: oklch(48.8% 0.200 276.4);
Tailwind
colors: {
  custom: {
    50: '#8b7bdd',
    500: '#4948cd',
    950: '#000000',
  },
}
SCSS
$custom: #4948cd;
$custom-light: #8b7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4948cd",
  "rgb": {
    "r": 73,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 240.451,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48807,
    "c": 0.1995,
    "h": 276.4
  },
  "luminance": 0.10459
}

Semantic roles & 50–950 ramp

primary
#4948CD
secondary
#D4D59C
accent
#E047DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4948CD

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

Preview Lab → · Contrast checker → · Palette generator →

#4948CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva