#4948C2#4948C2

#4948C2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.185 H 277.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4948C2
RGBrgb(73, 72, 194)
HSLhsl(240, 50%, 52%)
HSVhsv(240, 63%, 76%)
CMYKcmyk(62.4%, 62.9%, 0%, 23.9%)
CIE-LABlab(37.74, 37.34, -63.84)
CIE-LCHlch(37.74, 73.96, 300.32°)
OKLaboklab(47.86% 0.0231 -0.1839)
OKLCHoklch(47.86% 0.185 277.2)
XYZxyz(14.7995, 9.9451, 52.1682)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4948C2 #C1C248
analogous
#4884C2 #4948C2 #8648C2
triadic
#4948C2 #C24948 #48C249
tetradic
#4948C2 #C24884 #C1C248 #48C286
square
#4948C2 #C24884 #C1C248 #48C286
split-complementary
#4948C2 #C28648 #84C248
monochromatic
#24246C #34339A #4948C2 #7776D1 #A4A4E1

Accessibility & contrast

On white

7.03
#4948C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4948C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4948C2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4948C2#FFFFFF#000000##FFFFFF
##4948C21.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4948c2;
/* rgb */ color: rgb(73, 72, 194);
/* oklch */ color: oklch(47.9% 0.185 277.2);
Tailwind
colors: {
  custom: {
    50: '#897bd5',
    500: '#4948c2',
    950: '#000000',
  },
}
SCSS
$custom: #4948c2;
$custom-light: #897bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4948c2",
  "rgb": {
    "r": 73,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 240.492,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47863,
    "c": 0.18529,
    "h": 277.2
  },
  "luminance": 0.09946
}

Semantic roles & 50–950 ramp

primary
#4948C2
secondary
#CDCE98
accent
#DA4ED8
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4948C2

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

Preview Lab → · Contrast checker → · Palette generator →

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