#4948CC#4948CC

#4948CC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.7% C 0.198 H 276.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4948CC
RGBrgb(73, 72, 204)
HSLhsl(240, 56%, 54%)
HSVhsv(240, 65%, 80%)
CMYKcmyk(64.2%, 64.7%, 0%, 20%)
CIE-LABlab(38.57, 40.64, -68.31)
CIE-LCHlch(38.57, 79.49, 300.75°)
OKLaboklab(48.72% 0.0223 -0.197)
OKLCHoklch(48.72% 0.198 276.5)
XYZxyz(15.9605, 10.4095, 58.2832)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4948CC #CBCC48
analogous
#4889CC #4948CC #8B48CC
triadic
#4948CC #CC4948 #48CC49
tetradic
#4948CC #CC4889 #CBCC48 #48CC8B
square
#4948CC #CC4889 #CBCC48 #48CC8B
split-complementary
#4948CC #CC8B48 #89CC48
monochromatic
#222178 #302FA8 #4948CC #7978D9 #A8A8E7

Accessibility & contrast

On white

6.81
#4948CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4948CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4948CC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4948CC#FFFFFF#000000##FFFFFF
##4948CC1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4948cc;
/* rgb */ color: rgb(73, 72, 204);
/* oklch */ color: oklch(48.7% 0.198 276.5);
Tailwind
colors: {
  custom: {
    50: '#8b7bdd',
    500: '#4948cc',
    950: '#000000',
  },
}
SCSS
$custom: #4948cc;
$custom-light: #8b7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4948cc",
  "rgb": {
    "r": 73,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 240.455,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.4872,
    "c": 0.19822,
    "h": 276.5
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#4948CC
secondary
#D4D49C
accent
#E048DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4948CC

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

Preview Lab → · Contrast checker → · Palette generator →

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