#4F41AF#4F41AF

#4F41AF is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.6% C 0.168 H 283.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4F41AF
RGBrgb(79, 65, 175)
HSLhsl(248, 46%, 47%)
HSVhsv(248, 63%, 69%)
CMYKcmyk(54.9%, 62.9%, 0%, 31.4%)
CIE-LABlab(35.08, 36.46, -56.97)
CIE-LCHlch(35.08, 67.64, 302.62°)
OKLaboklab(45.56% 0.0385 -0.1635)
OKLCHoklch(45.56% 0.168 283.3)
XYZxyz(12.8502, 8.5372, 41.5199)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F41AF #A1AF41
analogous
#416AAF #4F41AF #8641AF
triadic
#4F41AF #AF4F41 #41AF4F
tetradic
#4F41AF #AF416A #A1AF41 #41AF86
square
#4F41AF #AF416A #A1AF41 #41AF86
split-complementary
#4F41AF #AF8641 #6AAF41
monochromatic
#272056 #3B3082 #4F41AF #7367C6 #9C93D7

Accessibility & contrast

On white

7.76
#4F41AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4F41AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F41AF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F41AF#FFFFFF#000000##FFFFFF
##4F41AF1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#245C72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f41af;
/* rgb */ color: rgb(79, 65, 175);
/* oklch */ color: oklch(45.6% 0.168 283.3);
Tailwind
colors: {
  custom: {
    50: '#8976c8',
    500: '#4f41af',
    950: '#000000',
  },
}
SCSS
$custom: #4f41af;
$custom-light: #8976c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f41af",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 247.636,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45559,
    "c": 0.16799,
    "h": 283.3
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#4F41AF
secondary
#BBC289
accent
#D552C5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4F41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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