#4F419A#4F419A

#4F419A is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.140 H 286.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#4F419A
RGBrgb(79, 65, 154)
HSLhsl(249, 41%, 43%)
HSVhsv(249, 58%, 60%)
CMYKcmyk(48.7%, 57.8%, 0%, 39.6%)
CIE-LABlab(33.51, 29.85, -46.90)
CIE-LCHlch(33.51, 55.59, 302.48°)
OKLaboklab(43.91% 0.0393 -0.1339)
OKLCHoklch(43.91% 0.14 286.4)
XYZxyz(10.9458, 7.7755, 31.4897)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F419A #8C9A41
analogous
#41609A #4F419A #7B419A
triadic
#4F419A #9A4F41 #419A4F
tetradic
#4F419A #9A4160 #8C9A41 #419A7B
square
#4F419A #9A4160 #8C9A41 #419A7B
split-complementary
#4F419A #9A7B41 #609A41
monochromatic
#231D44 #392F6F #4F419A #6C5DBB #9388CD

Accessibility & contrast

On white

8.22
#4F419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4F419A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F419A
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F419A#FFFFFF#000000##FFFFFF
##4F419A1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04519D
Deuteranopia (green-blind)
#024C98
Tritanopia (blue-blind)
#365567
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f419a;
/* rgb */ color: rgb(79, 65, 154);
/* oklch */ color: oklch(43.9% 0.140 286.4);
Tailwind
colors: {
  custom: {
    50: '#8676b8',
    500: '#4f419a',
    950: '#000000',
  },
}
SCSS
$custom: #4f419a;
$custom-light: #8676b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f419a",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 249.438,
    "s": 40.639,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43913,
    "c": 0.13955,
    "h": 286.4
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#4F419A
secondary
#AFB87F
accent
#D057BD
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #4F419A

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

Preview Lab → · Contrast checker → · Palette generator →

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