#4948BA#4948BA

#4948BA is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.175 H 277.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4948BA
RGBrgb(73, 72, 186)
HSLhsl(241, 45%, 51%)
HSVhsv(241, 61%, 73%)
CMYKcmyk(60.8%, 61.3%, 0%, 27.1%)
CIE-LABlab(37.11, 34.68, -60.19)
CIE-LCHlch(37.11, 69.47, 299.95°)
OKLaboklab(47.2% 0.0235 -0.1731)
OKLCHoklch(47.2% 0.175 277.7)
XYZxyz(13.9251, 9.5953, 47.5631)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4948BA #B9BA48
analogous
#4880BA #4948BA #8248BA
triadic
#4948BA #BA4948 #48BA49
tetradic
#4948BA #BA4880 #B9BA48 #48BA82
square
#4948BA #BA4880 #B9BA48 #48BA82
split-complementary
#4948BA #BA8248 #80BA48
monochromatic
#262562 #37368F #4948BA #7574CB #A1A1DC

Accessibility & contrast

On white

7.19
#4948BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4948BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4948BA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4948BA#FFFFFF#000000##FFFFFF
##4948BA1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4948ba;
/* rgb */ color: rgb(73, 72, 186);
/* oklch */ color: oklch(47.2% 0.175 277.7);
Tailwind
colors: {
  custom: {
    50: '#877bd0',
    500: '#4948ba',
    950: '#000000',
  },
}
SCSS
$custom: #4948ba;
$custom-light: #877bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4948ba",
  "rgb": {
    "r": 73,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 240.526,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47196,
    "c": 0.17472,
    "h": 277.7
  },
  "luminance": 0.09596
}

Semantic roles & 50–950 ramp

primary
#4948BA
secondary
#C8C896
accent
#D553D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4948BA

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

Preview Lab → · Contrast checker → · Palette generator →

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