#4841A8#4841A8

#4841A8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.160 H 280.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4841A8
RGBrgb(72, 65, 168)
HSLhsl(244, 44%, 46%)
HSVhsv(244, 61%, 66%)
CMYKcmyk(57.1%, 61.3%, 0%, 34.1%)
CIE-LABlab(33.95, 32.91, -54.65)
CIE-LCHlch(33.95, 63.79, 301.06°)
OKLaboklab(44.42% 0.0298 -0.1569)
OKLCHoklch(44.42% 0.16 280.7)
XYZxyz(11.6285, 7.9847, 37.9666)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841A8 #A1A841
analogous
#416DA8 #4841A8 #7B41A8
triadic
#4841A8 #A84841 #41A848
tetradic
#4841A8 #A8416D #A1A841 #41A87B
square
#4841A8 #A8416D #A1A841 #41A87B
split-complementary
#4841A8 #A87B41 #6DA841
monochromatic
#221F50 #35307C #4841A8 #6A63C3 #9490D4

Accessibility & contrast

On white

8.09
#4841A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4841A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841A8
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841A8#FFFFFF#000000##FFFFFF
##4841A81.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#155A6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4841a8;
/* rgb */ color: rgb(72, 65, 168);
/* oklch */ color: oklch(44.4% 0.160 280.7);
Tailwind
colors: {
  custom: {
    50: '#8476c3',
    500: '#4841a8',
    950: '#000000',
  },
}
SCSS
$custom: #4841a8;
$custom-light: #8476c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4841a8",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 244.078,
    "s": 44.206,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.15971,
    "h": 280.7
  },
  "luminance": 0.07985
}

Semantic roles & 50–950 ramp

primary
#4841A8
secondary
#BBBF86
accent
#D454CB
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4841A8

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

Preview Lab → · Contrast checker → · Palette generator →

#4841A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva