#48408E#48408E

#48408E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.125 H 284.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#48408E
RGBrgb(72, 64, 142)
HSLhsl(246, 38%, 40%)
HSVhsv(246, 55%, 56%)
CMYKcmyk(49.3%, 54.9%, 0%, 44.3%)
CIE-LABlab(31.80, 25.08, -42.36)
CIE-LCHlch(31.80, 49.23, 300.63°)
OKLaboklab(42.22% 0.0309 -0.1208)
OKLCHoklch(42.22% 0.125 284.4)
XYZxyz(9.3869, 6.9971, 26.4419)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48408E #868E40
analogous
#405F8E #48408E #6F408E
triadic
#48408E #8E4840 #408E48
tetradic
#48408E #8E405F #868E40 #408E6F
square
#48408E #8E405F #868E40 #408E6F
split-complementary
#48408E #8E6F40 #5F8E40
monochromatic
#1D1A3A #332D64 #48408E #6158B4 #8982C7

Accessibility & contrast

On white

8.75
#48408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#48408E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48408E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48408E#FFFFFF#000000##FFFFFF
##48408E1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D91
Deuteranopia (green-blind)
#12488C
Tritanopia (blue-blind)
#305160
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #48408e;
/* rgb */ color: rgb(72, 64, 142);
/* oklch */ color: oklch(42.2% 0.125 284.4);
Tailwind
colors: {
  custom: {
    50: '#8075b0',
    500: '#48408e',
    950: '#000000',
  },
}
SCSS
$custom: #48408e;
$custom-light: #8075b0;
$custom-dark: #000000;
JSON
{
  "hex": "#48408e",
  "rgb": {
    "r": 72,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 246.154,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42223,
    "c": 0.12468,
    "h": 284.4
  },
  "luminance": 0.06998
}

Semantic roles & 50–950 ramp

primary
#48408E
secondary
#ABB179
accent
#CE5AC2
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #48408E

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

Preview Lab → · Contrast checker → · Palette generator →

#48408E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva