#4B48CB#4B48CB

#4B48CB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.8% C 0.197 H 277.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4B48CB
RGBrgb(75, 72, 203)
HSLhsl(241, 56%, 54%)
HSVhsv(241, 65%, 80%)
CMYKcmyk(63.1%, 64.5%, 0%, 20.4%)
CIE-LABlab(38.62, 40.61, -67.63)
CIE-LCHlch(38.62, 78.89, 300.98°)
OKLaboklab(48.77% 0.0248 -0.1949)
OKLCHoklch(48.77% 0.197 277.2)
XYZxyz(15.9950, 10.4411, 57.6608)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B48CB #C8CB48
analogous
#4887CB #4B48CB #8D48CB
triadic
#4B48CB #CB4B48 #48CB4B
tetradic
#4B48CB #CB4887 #C8CB48 #48CB8D
square
#4B48CB #CB4887 #C8CB48 #48CB8D
split-complementary
#4B48CB #CB8D48 #87CB48
monochromatic
#242277 #322FA6 #4B48CB #7A78D9 #A9A7E6

Accessibility & contrast

On white

6.80
#4B48CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4B48CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B48CB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B48CB#FFFFFF#000000##FFFFFF
##4B48CB1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4b48cb;
/* rgb */ color: rgb(75, 72, 203);
/* oklch */ color: oklch(48.8% 0.197 277.2);
Tailwind
colors: {
  custom: {
    50: '#8b7bdc',
    500: '#4b48cb',
    950: '#000000',
  },
}
SCSS
$custom: #4b48cb;
$custom-light: #8b7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b48cb",
  "rgb": {
    "r": 75,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 241.374,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.4877,
    "c": 0.1965,
    "h": 277.2
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#4B48CB
secondary
#D2D39B
accent
#DF49DC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4B48CB

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

Preview Lab → · Contrast checker → · Palette generator →

#4B48CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva