#4948CB#4948CB

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

Color values

HEX#4948CB
RGBrgb(73, 72, 203)
HSLhsl(240, 56%, 54%)
HSVhsv(240, 65%, 80%)
CMYKcmyk(64%, 64.5%, 0%, 20.4%)
CIE-LABlab(38.48, 40.32, -67.86)
CIE-LCHlch(38.48, 78.94, 300.71°)
OKLaboklab(48.63% 0.0224 -0.1957)
OKLCHoklch(48.63% 0.197 276.5)
XYZxyz(15.8410, 10.3617, 57.6535)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4948CB #CACB48
analogous
#4889CB #4948CB #8B48CB
triadic
#4948CB #CB4948 #48CB49
tetradic
#4948CB #CB4889 #CACB48 #48CB8B
square
#4948CB #CB4889 #CACB48 #48CB8B
split-complementary
#4948CB #CB8B48 #89CB48
monochromatic
#222277 #302FA6 #4948CB #7878D9 #A8A7E6

Accessibility & contrast

On white

6.83
#4948CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4948CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4948CB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4948CB#FFFFFF#000000##FFFFFF
##4948CB1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4948cb;
/* rgb */ color: rgb(73, 72, 203);
/* oklch */ color: oklch(48.6% 0.197 276.5);
Tailwind
colors: {
  custom: {
    50: '#8a7bdc',
    500: '#4948cb',
    950: '#000000',
  },
}
SCSS
$custom: #4948cb;
$custom-light: #8a7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4948cb",
  "rgb": {
    "r": 73,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 240.458,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48633,
    "c": 0.19694,
    "h": 276.5
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#4948CB
secondary
#D3D39B
accent
#DF49DE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4948CB

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

Preview Lab → · Contrast checker → · Palette generator →

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