#4D41C7#4D41C7

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

Color values

HEX#4D41C7
RGBrgb(77, 65, 199)
HSLhsl(245, 54%, 52%)
HSVhsv(245, 67%, 78%)
CMYKcmyk(61.3%, 67.3%, 0%, 22%)
CIE-LABlab(36.89, 43.74, -68.13)
CIE-LCHlch(36.89, 80.96, 302.70°)
OKLaboklab(47.45% 0.0333 -0.1963)
OKLCHoklch(47.45% 0.199 279.6)
XYZxyz(15.2564, 9.4808, 55.0478)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41C7 #BBC741
analogous
#4178C7 #4D41C7 #9041C7
triadic
#4D41C7 #C74D41 #41C74D
tetradic
#4D41C7 #C74178 #BBC741 #41C790
square
#4D41C7 #C74178 #BBC741 #41C790
split-complementary
#4D41C7 #C79041 #78C741
monochromatic
#27206D #382E9D #4D41C7 #7970D5 #A6A0E3

Accessibility & contrast

On white

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

On black

2.90
#4D41C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D41C7#FFFFFF#000000##FFFFFF
##4D41C71.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#0052C4
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d41c7;
/* rgb */ color: rgb(77, 65, 199);
/* oklch */ color: oklch(47.4% 0.199 279.6);
Tailwind
colors: {
  custom: {
    50: '#8c77d9',
    500: '#4d41c7',
    950: '#000000',
  },
}
SCSS
$custom: #4d41c7;
$custom-light: #8c77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41c7",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 245.373,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.4745,
    "c": 0.19916,
    "h": 279.6
  },
  "luminance": 0.09482
}

Semantic roles & 50–950 ramp

primary
#4D41C7
secondary
#CACF95
accent
#DE4AD1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D41C7

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

Preview Lab → · Contrast checker → · Palette generator →

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