#4F41B5#4F41B5

#4F41B5 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.1% C 0.176 H 282.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4F41B5
RGBrgb(79, 65, 181)
HSLhsl(247, 47%, 48%)
HSVhsv(247, 64%, 71%)
CMYKcmyk(56.4%, 64.1%, 0%, 29%)
CIE-LABlab(35.55, 38.36, -59.75)
CIE-LCHlch(35.55, 71.00, 302.70°)
OKLaboklab(46.06% 0.038 -0.1717)
OKLCHoklch(46.06% 0.176 282.5)
XYZxyz(13.4527, 8.7782, 44.6926)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F41B5 #A7B541
analogous
#416DB5 #4F41B5 #8941B5
triadic
#4F41B5 #B54F41 #41B54F
tetradic
#4F41B5 #B5416D #A7B541 #41B589
square
#4F41B5 #B5416D #A7B541 #41B589
split-complementary
#4F41B5 #B58941 #6DB541
monochromatic
#28215B #3B3188 #4F41B5 #756AC9 #9F97DA

Accessibility & contrast

On white

7.62
#4F41B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4F41B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F41B5
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F41B5#FFFFFF#000000##FFFFFF
##4F41B51.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#1C5E75
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4f41b5;
/* rgb */ color: rgb(79, 65, 181);
/* oklch */ color: oklch(46.1% 0.176 282.5);
Tailwind
colors: {
  custom: {
    50: '#8a76cc',
    500: '#4f41b5',
    950: '#000000',
  },
}
SCSS
$custom: #4f41b5;
$custom-light: #8a76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f41b5",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 247.241,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46055,
    "c": 0.17585,
    "h": 282.5
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#4F41B5
secondary
#BEC58C
accent
#D751C7
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4F41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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