#4848CA#4848CA

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

Color values

HEX#4848CA
RGBrgb(72, 72, 202)
HSLhsl(240, 55%, 54%)
HSVhsv(240, 64%, 79%)
CMYKcmyk(64.4%, 64.4%, 0%, 20.8%)
CIE-LABlab(38.33, 39.84, -67.54)
CIE-LCHlch(38.33, 78.41, 300.54°)
OKLaboklab(48.48% 0.0213 -0.1947)
OKLCHoklch(48.48% 0.196 276.2)
XYZxyz(15.6470, 10.2754, 57.0244)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4848CA #CACA48
analogous
#4889CA #4848CA #8948CA
triadic
#4848CA #CA4848 #48CA48
tetradic
#4848CA #CA4889 #CACA48 #48CA89
square
#4848CA #CA4889 #CACA48 #48CA89
split-complementary
#4848CA #CA8948 #89CA48
monochromatic
#222276 #3030A5 #4848CA #7777D8 #A7A7E5

Accessibility & contrast

On white

6.87
#4848CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4848CA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4848CA#FFFFFF#000000##FFFFFF
##4848CA1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4848ca;
/* rgb */ color: rgb(72, 72, 202);
/* oklch */ color: oklch(48.5% 0.196 276.2);
Tailwind
colors: {
  custom: {
    50: '#8a7bdb',
    500: '#4848ca',
    950: '#000000',
  },
}
SCSS
$custom: #4848ca;
$custom-light: #8a7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4848ca",
  "rgb": {
    "r": 72,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48479,
    "c": 0.19589,
    "h": 276.2
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4848CA

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

Preview Lab → · Contrast checker → · Palette generator →

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