#4F41C5#4F41C5

#4F41C5 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.4% C 0.196 H 280.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4F41C5
RGBrgb(79, 65, 197)
HSLhsl(246, 53%, 51%)
HSVhsv(246, 67%, 77%)
CMYKcmyk(59.9%, 67%, 0%, 22.7%)
CIE-LABlab(36.88, 43.41, -66.98)
CIE-LCHlch(36.88, 79.82, 302.94°)
OKLaboklab(47.43% 0.0362 -0.1929)
OKLCHoklch(47.43% 0.196 280.6)
XYZxyz(15.1896, 9.4730, 53.8405)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F41C5 #B7C541
analogous
#4175C5 #4F41C5 #9141C5
triadic
#4F41C5 #C54F41 #41C54F
tetradic
#4F41C5 #C54175 #B7C541 #41C591
square
#4F41C5 #C54175 #B7C541 #41C591
split-complementary
#4F41C5 #C59141 #75C541
monochromatic
#29216B #3A2F9A #4F41C5 #7A70D3 #A69FE2

Accessibility & contrast

On white

7.25
#4F41C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4F41C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F41C5
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F41C5#FFFFFF#000000##FFFFFF
##4F41C51.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f41c5;
/* rgb */ color: rgb(79, 65, 197);
/* oklch */ color: oklch(47.4% 0.196 280.6);
Tailwind
colors: {
  custom: {
    50: '#8d77d8',
    500: '#4f41c5',
    950: '#000000',
  },
}
SCSS
$custom: #4f41c5;
$custom-light: #8d77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f41c5",
  "rgb": {
    "r": 79,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 246.364,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.19629,
    "h": 280.6
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#4F41C5
secondary
#C8CE94
accent
#DD4BCD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4F41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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