#4F41AC#4F41AC

#4F41AC is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.164 H 283.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4F41AC
RGBrgb(79, 65, 172)
HSLhsl(248, 45%, 46%)
HSVhsv(248, 62%, 67%)
CMYKcmyk(54.1%, 62.2%, 0%, 32.5%)
CIE-LABlab(34.84, 35.51, -55.56)
CIE-LCHlch(34.84, 65.94, 302.59°)
OKLaboklab(45.32% 0.0387 -0.1594)
OKLCHoklch(45.32% 0.164 283.7)
XYZxyz(12.5589, 8.4207, 39.9853)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F41AC #9EAC41
analogous
#4169AC #4F41AC #8541AC
triadic
#4F41AC #AC4F41 #41AC4F
tetradic
#4F41AC #AC4169 #9EAC41 #41AC85
square
#4F41AC #AC4169 #9EAC41 #41AC85
split-complementary
#4F41AC #AC8541 #69AC41
monochromatic
#261F53 #3B3080 #4F41AC #7265C5 #9B92D6

Accessibility & contrast

On white

7.82
#4F41AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4F41AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F41AC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F41AC#FFFFFF#000000##FFFFFF
##4F41AC1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#275B70
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f41ac;
/* rgb */ color: rgb(79, 65, 172);
/* oklch */ color: oklch(45.3% 0.164 283.7);
Tailwind
colors: {
  custom: {
    50: '#8976c6',
    500: '#4f41ac',
    950: '#000000',
  },
}
SCSS
$custom: #4f41ac;
$custom-light: #8976c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f41ac",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 247.85,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45315,
    "c": 0.16402,
    "h": 283.7
  },
  "luminance": 0.08421
}

Semantic roles & 50–950 ramp

primary
#4F41AC
secondary
#BAC188
accent
#D553C4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4F41AC

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

Preview Lab → · Contrast checker → · Palette generator →

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