#4948E5#4948E5

#4948E5 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.229 H 274.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4948E5
RGBrgb(73, 72, 229)
HSLhsl(240, 75%, 59%)
HSVhsv(240, 69%, 90%)
CMYKcmyk(68.1%, 68.6%, 0%, 10.2%)
CIE-LABlab(40.75, 48.80, -79.07)
CIE-LCHlch(40.75, 92.92, 301.68°)
OKLaboklab(50.96% 0.0195 -0.2285)
OKLCHoklch(50.96% 0.229 274.9)
XYZxyz(19.2032, 11.7066, 75.3611)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4948E5 #E4E548
analogous
#4896E5 #4948E5 #9848E5
triadic
#4948E5 #E54948 #48E549
tetradic
#4948E5 #E54896 #E4E548 #48E598
square
#4948E5 #E54896 #E4E548 #48E598
split-complementary
#4948E5 #E59848 #96E548
monochromatic
#17169C #1F1ED2 #4948E5 #7E7EED #B4B3F4

Accessibility & contrast

On white

6.28
#4948E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4948E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4948E5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4948E5#FFFFFF#000000##FFFFFF
##4948E51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EA
Deuteranopia (green-blind)
#0059E2
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4948e5;
/* rgb */ color: rgb(73, 72, 229);
/* oklch */ color: oklch(51.0% 0.229 274.9);
Tailwind
colors: {
  custom: {
    50: '#8f7cee',
    500: '#4948e5',
    950: '#000000',
  },
}
SCSS
$custom: #4948e5;
$custom-light: #8f7cee;
$custom-dark: #000000;
JSON
{
  "hex": "#4948e5",
  "rgb": {
    "r": 73,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 240.382,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.50964,
    "c": 0.22932,
    "h": 274.9
  },
  "luminance": 0.11708
}

Semantic roles & 50–950 ramp

primary
#4948E5
secondary
#E3E3A6
accent
#F236F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4948E5

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

Preview Lab → · Contrast checker → · Palette generator →

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