#4F409F#4F409F

#4F409F is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.148 H 285.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4F409F
RGBrgb(79, 64, 159)
HSLhsl(249, 43%, 44%)
HSVhsv(249, 60%, 62%)
CMYKcmyk(50.3%, 59.7%, 0%, 37.6%)
CIE-LABlab(33.63, 32.04, -49.73)
CIE-LCHlch(33.63, 59.16, 302.79°)
OKLaboklab(44.12% 0.0404 -0.1422)
OKLCHoklch(44.12% 0.148 285.9)
XYZxyz(11.3140, 7.8317, 33.7097)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F409F #909F40
analogous
#40609F #4F409F #7E409F
triadic
#4F409F #9F4F40 #409F4F
tetradic
#4F409F #9F4060 #909F40 #409F7E
square
#4F409F #9F4060 #909F40 #409F7E
split-complementary
#4F409F #9F7E40 #609F40
monochromatic
#241D48 #392E73 #4F409F #6D5EBE #958AD0

Accessibility & contrast

On white

8.18
#4F409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4F409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F409F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F409F#FFFFFF#000000##FFFFFF
##4F409F1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#325669
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f409f;
/* rgb */ color: rgb(79, 64, 159);
/* oklch */ color: oklch(44.1% 0.148 285.9);
Tailwind
colors: {
  custom: {
    50: '#8775bc',
    500: '#4f409f',
    950: '#000000',
  },
}
SCSS
$custom: #4f409f;
$custom-light: #8775bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f409f",
  "rgb": {
    "r": 79,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 249.474,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44116,
    "c": 0.14786,
    "h": 285.9
  },
  "luminance": 0.07832
}

Semantic roles & 50–950 ramp

primary
#4F409F
secondary
#B1BB80
accent
#D255BF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F409F

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

Preview Lab → · Contrast checker → · Palette generator →

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