#4F409E#4F409E

#4F409E is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.146 H 286.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4F409E
RGBrgb(79, 64, 158)
HSLhsl(250, 42%, 44%)
HSVhsv(250, 59%, 62%)
CMYKcmyk(50%, 59.5%, 0%, 38%)
CIE-LABlab(33.56, 31.72, -49.24)
CIE-LCHlch(33.56, 58.58, 302.79°)
OKLaboklab(44.04% 0.0404 -0.1408)
OKLCHoklch(44.04% 0.146 286)
XYZxyz(11.2276, 7.7971, 33.2545)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F409E #8F9E40
analogous
#40609E #4F409E #7E409E
triadic
#4F409E #9E4F40 #409E4F
tetradic
#4F409E #9E4060 #8F9E40 #409E7E
square
#4F409E #9E4060 #8F9E40 #409E7E
split-complementary
#4F409E #9E7E40 #609E40
monochromatic
#231D47 #392E72 #4F409E #6D5EBE #9489CF

Accessibility & contrast

On white

8.20
#4F409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F409E
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F409E#FFFFFF#000000##FFFFFF
##4F409E1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#335668
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f409e;
/* rgb */ color: rgb(79, 64, 158);
/* oklch */ color: oklch(44.0% 0.146 286.0);
Tailwind
colors: {
  custom: {
    50: '#8775bb',
    500: '#4f409e',
    950: '#000000',
  },
}
SCSS
$custom: #4f409e;
$custom-light: #8775bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f409e",
  "rgb": {
    "r": 79,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 249.574,
    "s": 42.342,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44039,
    "c": 0.14649,
    "h": 286
  },
  "luminance": 0.07798
}

Semantic roles & 50–950 ramp

primary
#4F409E
secondary
#B1BA80
accent
#D256BE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4F409E

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

Preview Lab → · Contrast checker → · Palette generator →

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