#4F41AA#4F41AA

#4F41AA is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.161 H 283.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4F41AA
RGBrgb(79, 65, 170)
HSLhsl(248, 45%, 46%)
HSVhsv(248, 62%, 67%)
CMYKcmyk(53.5%, 61.8%, 0%, 33.3%)
CIE-LABlab(34.69, 34.88, -54.62)
CIE-LCHlch(34.69, 64.80, 302.56°)
OKLaboklab(45.15% 0.0388 -0.1566)
OKLCHoklch(45.15% 0.161 283.9)
XYZxyz(12.3682, 8.3445, 38.9813)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F41AA #9CAA41
analogous
#4167AA #4F41AA #8341AA
triadic
#4F41AA #AA4F41 #41AA4F
tetradic
#4F41AA #AA4167 #9CAA41 #41AA83
square
#4F41AA #AA4167 #9CAA41 #41AA83
split-complementary
#4F41AA #AA8341 #67AA41
monochromatic
#261F51 #3A307E #4F41AA #7164C4 #9A91D5

Accessibility & contrast

On white

7.87
#4F41AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4F41AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F41AA
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F41AA#FFFFFF#000000##FFFFFF
##4F41AA1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#295A6F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f41aa;
/* rgb */ color: rgb(79, 65, 170);
/* oklch */ color: oklch(45.2% 0.161 283.9);
Tailwind
colors: {
  custom: {
    50: '#8876c4',
    500: '#4f41aa',
    950: '#000000',
  },
}
SCSS
$custom: #4f41aa;
$custom-light: #8876c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f41aa",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 248,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45154,
    "c": 0.16135,
    "h": 283.9
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#4F41AA
secondary
#B8C087
accent
#D453C3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4F41AA

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

Preview Lab → · Contrast checker → · Palette generator →

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