#4848CC#4848CC

#4848CC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.7% C 0.198 H 276.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4848CC
RGBrgb(72, 72, 204)
HSLhsl(240, 56%, 54%)
HSVhsv(240, 65%, 80%)
CMYKcmyk(64.7%, 64.7%, 0%, 20%)
CIE-LABlab(38.50, 40.50, -68.42)
CIE-LCHlch(38.50, 79.51, 300.62°)
OKLaboklab(48.65% 0.0211 -0.1973)
OKLCHoklch(48.65% 0.198 276.1)
XYZxyz(15.8854, 10.3707, 58.2797)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4848CC #CCCC48
analogous
#488ACC #4848CC #8A48CC
triadic
#4848CC #CC4848 #48CC48
tetradic
#4848CC #CC488A #CCCC48 #48CC8A
square
#4848CC #CC488A #CCCC48 #48CC8A
split-complementary
#4848CC #CC8A48 #8ACC48
monochromatic
#212178 #2F2FA8 #4848CC #7878D9 #A8A8E7

Accessibility & contrast

On white

6.83
#4848CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4848CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4848CC
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4848CC#FFFFFF#000000##FFFFFF
##4848CC1.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)
#0061D0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4848cc;
/* rgb */ color: rgb(72, 72, 204);
/* oklch */ color: oklch(48.7% 0.198 276.1);
Tailwind
colors: {
  custom: {
    50: '#8a7bdd',
    500: '#4848cc',
    950: '#000000',
  },
}
SCSS
$custom: #4848cc;
$custom-light: #8a7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4848cc",
  "rgb": {
    "r": 72,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 240,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48653,
    "c": 0.19844,
    "h": 276.1
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#4848CC
secondary
#D4D49C
accent
#E048E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4848CC

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

Preview Lab → · Contrast checker → · Palette generator →

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