#4F41B2#4F41B2

#4F41B2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.8% C 0.172 H 282.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4F41B2
RGBrgb(79, 65, 178)
HSLhsl(247, 47%, 48%)
HSVhsv(247, 63%, 70%)
CMYKcmyk(55.6%, 63.5%, 0%, 30.2%)
CIE-LABlab(35.31, 37.41, -58.36)
CIE-LCHlch(35.31, 69.32, 302.66°)
OKLaboklab(45.81% 0.0383 -0.1676)
OKLCHoklch(45.81% 0.172 282.9)
XYZxyz(13.1482, 8.6564, 43.0889)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F41B2 #A4B241
analogous
#416BB2 #4F41B2 #8841B2
triadic
#4F41B2 #B24F41 #41B24F
tetradic
#4F41B2 #B2416B #A4B241 #41B288
square
#4F41B2 #B2416B #A4B241 #41B288
split-complementary
#4F41B2 #B28841 #6BB241
monochromatic
#272058 #3B3185 #4F41B2 #7468C8 #9D95D8

Accessibility & contrast

On white

7.69
#4F41B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4F41B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F41B2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F41B2#FFFFFF#000000##FFFFFF
##4F41B21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#205D73
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f41b2;
/* rgb */ color: rgb(79, 65, 178);
/* oklch */ color: oklch(45.8% 0.172 282.9);
Tailwind
colors: {
  custom: {
    50: '#8a76ca',
    500: '#4f41b2',
    950: '#000000',
  },
}
SCSS
$custom: #4f41b2;
$custom-light: #8a76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f41b2",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 247.434,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45806,
    "c": 0.17194,
    "h": 282.9
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#4F41B2
secondary
#BDC48B
accent
#D652C6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4F41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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