#4848BD#4848BD

#4848BD is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.179 H 277.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4848BD
RGBrgb(72, 72, 189)
HSLhsl(240, 47%, 51%)
HSVhsv(240, 62%, 74%)
CMYKcmyk(61.9%, 61.9%, 0%, 25.9%)
CIE-LABlab(37.27, 35.52, -61.68)
CIE-LCHlch(37.27, 71.18, 299.93°)
OKLaboklab(47.37% 0.0222 -0.1776)
OKLCHoklch(47.37% 0.179 277.1)
XYZxyz(14.1722, 9.6855, 49.2569)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4848BD #BDBD48
analogous
#4882BD #4848BD #8248BD
triadic
#4848BD #BD4848 #48BD48
tetradic
#4848BD #BD4882 #BDBD48 #48BD82
square
#4848BD #BD4882 #BDBD48 #48BD82
split-complementary
#4848BD #BD8248 #82BD48
monochromatic
#252566 #353593 #4848BD #7575CD #A2A2DD

Accessibility & contrast

On white

7.15
#4848BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4848BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4848BD
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4848BD#FFFFFF#000000##FFFFFF
##4848BD1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4848bd;
/* rgb */ color: rgb(72, 72, 189);
/* oklch */ color: oklch(47.4% 0.179 277.1);
Tailwind
colors: {
  custom: {
    50: '#877bd2',
    500: '#4848bd',
    950: '#000000',
  },
}
SCSS
$custom: #4848bd;
$custom-light: #877bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4848bd",
  "rgb": {
    "r": 72,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 240,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47374,
    "c": 0.17893,
    "h": 277.1
  },
  "luminance": 0.09687
}

Semantic roles & 50–950 ramp

primary
#4848BD
secondary
#CACA97
accent
#D751D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4848BD

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

Preview Lab → · Contrast checker → · Palette generator →

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