#4F41BA#4F41BA

#4F41BA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.5% C 0.182 H 281.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#4F41BA
RGBrgb(79, 65, 186)
HSLhsl(247, 48%, 49%)
HSVhsv(247, 65%, 73%)
CMYKcmyk(57.5%, 65.1%, 0%, 27.1%)
CIE-LABlab(35.96, 39.94, -62.04)
CIE-LCHlch(35.96, 73.78, 302.77°)
OKLaboklab(46.48% 0.0375 -0.1784)
OKLCHoklch(46.48% 0.182 281.9)
XYZxyz(13.9749, 8.9871, 47.4431)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F41BA #ACBA41
analogous
#4170BA #4F41BA #8C41BA
triadic
#4F41BA #BA4F41 #41BA4F
tetradic
#4F41BA #BA4170 #ACBA41 #41BA8C
square
#4F41BA #BA4170 #ACBA41 #41BA8C
split-complementary
#4F41BA #BA8C41 #70BA41
monochromatic
#28215F #3C318D #4F41BA #776CCC #A19ADC

Accessibility & contrast

On white

7.51
#4F41BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4F41BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F41BA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F41BA#FFFFFF#000000##FFFFFF
##4F41BA1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#135F77
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f41ba;
/* rgb */ color: rgb(79, 65, 186);
/* oklch */ color: oklch(46.5% 0.182 281.9);
Tailwind
colors: {
  custom: {
    50: '#8b77d0',
    500: '#4f41ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f41ba;
$custom-light: #8b77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f41ba",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 246.942,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46476,
    "c": 0.18232,
    "h": 281.9
  },
  "luminance": 0.08988
}

Semantic roles & 50–950 ramp

primary
#4F41BA
secondary
#C1C88F
accent
#D850C8
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4F41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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