#4848A2#4848A2

#4848A2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.142 H 279.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4848A2
RGBrgb(72, 72, 162)
HSLhsl(240, 38%, 46%)
HSVhsv(240, 56%, 64%)
CMYKcmyk(55.6%, 55.6%, 0%, 36.5%)
CIE-LABlab(35.24, 26.49, -48.96)
CIE-LCHlch(35.24, 55.67, 298.42°)
OKLaboklab(45.23% 0.0225 -0.1401)
OKLCHoklch(45.23% 0.142 279.1)
XYZxyz(11.5094, 8.6203, 35.2328)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4848A2 #A2A248
analogous
#4875A2 #4848A2 #7548A2
triadic
#4848A2 #A24848 #48A248
tetradic
#4848A2 #A24875 #A2A248 #48A275
square
#4848A2 #A24875 #A2A248 #48A275
split-complementary
#4848A2 #A27548 #75A248
monochromatic
#22224D #353578 #4848A2 #6A6ABD #9595D0

Accessibility & contrast

On white

7.71
#4848A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4848A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4848A2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4848A2#FFFFFF#000000##FFFFFF
##4848A21.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D57A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#1C5D6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4848a2;
/* rgb */ color: rgb(72, 72, 162);
/* oklch */ color: oklch(45.2% 0.142 279.1);
Tailwind
colors: {
  custom: {
    50: '#837bbe',
    500: '#4848a2',
    950: '#000000',
  },
}
SCSS
$custom: #4848a2;
$custom-light: #837bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4848a2",
  "rgb": {
    "r": 72,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 38.462,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45233,
    "c": 0.14192,
    "h": 279.1
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#4848A2
secondary
#BCBC8A
accent
#CE59CE
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4848A2

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

Preview Lab → · Contrast checker → · Palette generator →

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