#4848C2#4848C2

#4848C2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.8% C 0.186 H 276.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4848C2
RGBrgb(72, 72, 194)
HSLhsl(240, 50%, 52%)
HSVhsv(240, 63%, 76%)
CMYKcmyk(62.9%, 62.9%, 0%, 23.9%)
CIE-LABlab(37.67, 37.18, -63.95)
CIE-LCHlch(37.67, 73.98, 300.17°)
OKLaboklab(47.79% 0.0219 -0.1842)
OKLCHoklch(47.79% 0.186 276.8)
XYZxyz(14.7243, 9.9063, 52.1647)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4848C2 #C2C248
analogous
#4885C2 #4848C2 #8548C2
triadic
#4848C2 #C24848 #48C248
tetradic
#4848C2 #C24885 #C2C248 #48C285
square
#4848C2 #C24885 #C2C248 #48C285
split-complementary
#4848C2 #C28548 #85C248
monochromatic
#24246C #33339A #4848C2 #7676D1 #A4A4E1

Accessibility & contrast

On white

7.04
#4848C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4848C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4848C2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4848C2#FFFFFF#000000##FFFFFF
##4848C21.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4848c2;
/* rgb */ color: rgb(72, 72, 194);
/* oklch */ color: oklch(47.8% 0.186 276.8);
Tailwind
colors: {
  custom: {
    50: '#887bd5',
    500: '#4848c2',
    950: '#000000',
  },
}
SCSS
$custom: #4848c2;
$custom-light: #887bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4848c2",
  "rgb": {
    "r": 72,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 240,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47794,
    "c": 0.18551,
    "h": 276.8
  },
  "luminance": 0.09907
}

Semantic roles & 50–950 ramp

primary
#4848C2
secondary
#CECE98
accent
#DA4EDA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4848C2

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

Preview Lab → · Contrast checker → · Palette generator →

#4848C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva