#4848CD#4848CD

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

Color values

HEX#4848CD
RGBrgb(72, 72, 205)
HSLhsl(240, 57%, 54%)
HSVhsv(240, 65%, 80%)
CMYKcmyk(64.9%, 64.9%, 0%, 19.6%)
CIE-LABlab(38.58, 40.83, -68.86)
CIE-LCHlch(38.58, 80.06, 300.67°)
OKLaboklab(48.74% 0.021 -0.1986)
OKLCHoklch(48.74% 0.2 276)
XYZxyz(16.0057, 10.4189, 58.9133)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4848CD #CDCD48
analogous
#488BCD #4848CD #8B48CD
triadic
#4848CD #CD4848 #48CD48
tetradic
#4848CD #CD488B #CDCD48 #48CD8B
square
#4848CD #CD488B #CDCD48 #48CD8B
split-complementary
#4848CD #CD8B48 #8BCD48
monochromatic
#212179 #2E2EA9 #4848CD #7878DA #A8A8E7

Accessibility & contrast

On white

6.81
#4848CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4848CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4848CD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4848CD#FFFFFF#000000##FFFFFF
##4848CD1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4848cd;
/* rgb */ color: rgb(72, 72, 205);
/* oklch */ color: oklch(48.7% 0.200 276.0);
Tailwind
colors: {
  custom: {
    50: '#8a7bdd',
    500: '#4848cd',
    950: '#000000',
  },
}
SCSS
$custom: #4848cd;
$custom-light: #8a7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4848cd",
  "rgb": {
    "r": 72,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.4874,
    "c": 0.19973,
    "h": 276
  },
  "luminance": 0.1042
}

Semantic roles & 50–950 ramp

primary
#4848CD
secondary
#D5D59C
accent
#E047E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4848CD

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

Preview Lab → · Contrast checker → · Palette generator →

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