#4948CA#4948CA

#4948CA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.5% C 0.196 H 276.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4948CA
RGBrgb(73, 72, 202)
HSLhsl(240, 55%, 54%)
HSVhsv(240, 64%, 79%)
CMYKcmyk(63.9%, 64.4%, 0%, 20.8%)
CIE-LABlab(38.40, 39.98, -67.42)
CIE-LCHlch(38.40, 78.39, 300.67°)
OKLaboklab(48.55% 0.0225 -0.1944)
OKLCHoklch(48.55% 0.196 276.6)
XYZxyz(15.7222, 10.3142, 57.0280)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4948CA #C9CA48
analogous
#4888CA #4948CA #8A48CA
triadic
#4948CA #CA4948 #48CA49
tetradic
#4948CA #CA4888 #C9CA48 #48CA8A
square
#4948CA #CA4888 #C9CA48 #48CA8A
split-complementary
#4948CA #CA8A48 #88CA48
monochromatic
#232276 #3130A5 #4948CA #7877D8 #A7A7E5

Accessibility & contrast

On white

6.86
#4948CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4948CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4948CA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4948CA#FFFFFF#000000##FFFFFF
##4948CA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4948ca;
/* rgb */ color: rgb(73, 72, 202);
/* oklch */ color: oklch(48.5% 0.196 276.6);
Tailwind
colors: {
  custom: {
    50: '#8a7bdb',
    500: '#4948ca',
    950: '#000000',
  },
}
SCSS
$custom: #4948ca;
$custom-light: #8a7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4948ca",
  "rgb": {
    "r": 73,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 240.462,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48547,
    "c": 0.19565,
    "h": 276.6
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#4948CA
secondary
#D2D39B
accent
#DE49DD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4948CA

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

Preview Lab → · Contrast checker → · Palette generator →

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