#4A48A2#4A48A2

#4A48A2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.142 H 280.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#4A48A2
RGBrgb(74, 72, 162)
HSLhsl(241, 38%, 46%)
HSVhsv(241, 56%, 64%)
CMYKcmyk(54.3%, 55.6%, 0%, 36.5%)
CIE-LABlab(35.40, 26.91, -48.70)
CIE-LCHlch(35.40, 55.64, 298.92°)
OKLaboklab(45.39% 0.0249 -0.1393)
OKLCHoklch(45.39% 0.142 280.1)
XYZxyz(11.6610, 8.6985, 35.2399)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A48A2 #A0A248
analogous
#4873A2 #4A48A2 #7748A2
triadic
#4A48A2 #A24A48 #48A24A
tetradic
#4A48A2 #A24873 #A0A248 #48A277
square
#4A48A2 #A24873 #A0A248 #48A277
split-complementary
#4A48A2 #A27748 #73A248
monochromatic
#23224D #373578 #4A48A2 #6C6ABD #9695D0

Accessibility & contrast

On white

7.66
#4A48A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4A48A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A48A2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A48A2#FFFFFF#000000##FFFFFF
##4A48A21.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F57A5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#235D6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4a48a2;
/* rgb */ color: rgb(74, 72, 162);
/* oklch */ color: oklch(45.4% 0.142 280.1);
Tailwind
colors: {
  custom: {
    50: '#847bbe',
    500: '#4a48a2',
    950: '#000000',
  },
}
SCSS
$custom: #4a48a2;
$custom-light: #847bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4a48a2",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 241.333,
    "s": 38.462,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45388,
    "c": 0.14152,
    "h": 280.1
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#4A48A2
secondary
#BBBC8A
accent
#CE59CC
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4A48A2

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

Preview Lab → · Contrast checker → · Palette generator →

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