#4A48BA#4A48BA

#4A48BA is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.175 H 278.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4A48BA
RGBrgb(74, 72, 186)
HSLhsl(241, 45%, 51%)
HSVhsv(241, 61%, 73%)
CMYKcmyk(60.2%, 61.3%, 0%, 27.1%)
CIE-LABlab(37.18, 34.85, -60.07)
CIE-LCHlch(37.18, 69.45, 300.12°)
OKLaboklab(47.27% 0.0247 -0.1727)
OKLCHoklch(47.27% 0.175 278.2)
XYZxyz(14.0015, 9.6347, 47.5667)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A48BA #B8BA48
analogous
#487FBA #4A48BA #8348BA
triadic
#4A48BA #BA4A48 #48BA4A
tetradic
#4A48BA #BA487F #B8BA48 #48BA83
square
#4A48BA #BA487F #B8BA48 #48BA83
split-complementary
#4A48BA #BA8348 #7FBA48
monochromatic
#262562 #37368F #4A48BA #7674CB #A2A1DC

Accessibility & contrast

On white

7.17
#4A48BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4A48BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A48BA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A48BA#FFFFFF#000000##FFFFFF
##4A48BA1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a48ba;
/* rgb */ color: rgb(74, 72, 186);
/* oklch */ color: oklch(47.3% 0.175 278.2);
Tailwind
colors: {
  custom: {
    50: '#887bd0',
    500: '#4a48ba',
    950: '#000000',
  },
}
SCSS
$custom: #4a48ba;
$custom-light: #887bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a48ba",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 241.053,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47268,
    "c": 0.17451,
    "h": 278.2
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

primary
#4A48BA
secondary
#C7C896
accent
#D553D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4A48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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