#4848CB#4848CB

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

Color values

HEX#4848CB
RGBrgb(72, 72, 203)
HSLhsl(240, 56%, 54%)
HSVhsv(240, 65%, 80%)
CMYKcmyk(64.5%, 64.5%, 0%, 20.4%)
CIE-LABlab(38.42, 40.17, -67.98)
CIE-LCHlch(38.42, 78.96, 300.58°)
OKLaboklab(48.57% 0.0212 -0.196)
OKLCHoklch(48.57% 0.197 276.2)
XYZxyz(15.7658, 10.3229, 57.6500)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4848CB #CBCB48
analogous
#488ACB #4848CB #8A48CB
triadic
#4848CB #CB4848 #48CB48
tetradic
#4848CB #CB488A #CBCB48 #48CB8A
square
#4848CB #CB488A #CBCB48 #48CB8A
split-complementary
#4848CB #CB8A48 #8ACB48
monochromatic
#222277 #2F2FA6 #4848CB #7878D9 #A7A7E6

Accessibility & contrast

On white

6.85
#4848CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4848CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4848CB
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4848CB#FFFFFF#000000##FFFFFF
##4848CB1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4848cb;
/* rgb */ color: rgb(72, 72, 203);
/* oklch */ color: oklch(48.6% 0.197 276.2);
Tailwind
colors: {
  custom: {
    50: '#8a7bdc',
    500: '#4848cb',
    950: '#000000',
  },
}
SCSS
$custom: #4848cb;
$custom-light: #8a7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4848cb",
  "rgb": {
    "r": 72,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 240,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48566,
    "c": 0.19717,
    "h": 276.2
  },
  "luminance": 0.10324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4848CB

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

Preview Lab → · Contrast checker → · Palette generator →

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