#4F41B7#4F41B7

#4F41B7 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.2% C 0.178 H 282.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4F41B7
RGBrgb(79, 65, 183)
HSLhsl(247, 48%, 49%)
HSVhsv(247, 64%, 72%)
CMYKcmyk(56.8%, 64.5%, 0%, 28.2%)
CIE-LABlab(35.72, 38.99, -60.67)
CIE-LCHlch(35.72, 72.12, 302.73°)
OKLaboklab(46.22% 0.0378 -0.1744)
OKLCHoklch(46.22% 0.178 282.2)
XYZxyz(13.6593, 8.8609, 45.7811)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F41B7 #A9B741
analogous
#416EB7 #4F41B7 #8A41B7
triadic
#4F41B7 #B74F41 #41B74F
tetradic
#4F41B7 #B7416E #A9B741 #41B78A
square
#4F41B7 #B7416E #A9B741 #41B78A
split-complementary
#4F41B7 #B78A41 #6EB741
monochromatic
#28215D #3C318A #4F41B7 #766BCA #A098DA

Accessibility & contrast

On white

7.57
#4F41B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4F41B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F41B7
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F41B7#FFFFFF#000000##FFFFFF
##4F41B71.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#195E76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4f41b7;
/* rgb */ color: rgb(79, 65, 183);
/* oklch */ color: oklch(46.2% 0.178 282.2);
Tailwind
colors: {
  custom: {
    50: '#8a76ce',
    500: '#4f41b7',
    950: '#000000',
  },
}
SCSS
$custom: #4f41b7;
$custom-light: #8a76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4f41b7",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 247.119,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46223,
    "c": 0.17845,
    "h": 282.2
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#4F41B7
secondary
#C0C68E
accent
#D751C7
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4F41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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