#4F41D5#4F41D5

#4F41D5 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.9% C 0.216 H 279.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4F41D5
RGBrgb(79, 65, 213)
HSLhsl(246, 64%, 55%)
HSVhsv(246, 69%, 84%)
CMYKcmyk(62.9%, 69.5%, 0%, 16.5%)
CIE-LABlab(38.28, 48.42, -73.96)
CIE-LCHlch(38.28, 88.40, 303.21°)
OKLaboklab(48.86% 0.0338 -0.2134)
OKLCHoklch(48.86% 0.216 279)
XYZxyz(17.1211, 10.2456, 64.0133)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F41D5 #C7D541
analogous
#417DD5 #4F41D5 #9941D5
triadic
#4F41D5 #D54F41 #41D54F
tetradic
#4F41D5 #D5417D #C7D541 #41D599
square
#4F41D5 #D5417D #C7D541 #41D599
split-complementary
#4F41D5 #D59941 #7DD541
monochromatic
#261C7F #3427B2 #4F41D5 #7D73E0 #ACA5EB

Accessibility & contrast

On white

6.89
#4F41D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4F41D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F41D5
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F41D5#FFFFFF#000000##FFFFFF
##4F41D51.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D9
Deuteranopia (green-blind)
#0054D2
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f41d5;
/* rgb */ color: rgb(79, 65, 213);
/* oklch */ color: oklch(48.9% 0.216 279.0);
Tailwind
colors: {
  custom: {
    50: '#9077e3',
    500: '#4f41d5',
    950: '#000000',
  },
}
SCSS
$custom: #4f41d5;
$custom-light: #9077e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f41d5",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 245.676,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48863,
    "c": 0.21603,
    "h": 279
  },
  "luminance": 0.10247
}

Semantic roles & 50–950 ramp

primary
#4F41D5
secondary
#D2D89A
accent
#E741D7
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F41D5

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

Preview Lab → · Contrast checker → · Palette generator →

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