#4D41C5#4D41C5

#4D41C5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.3% C 0.197 H 279.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4D41C5
RGBrgb(77, 65, 197)
HSLhsl(245, 53%, 51%)
HSVhsv(245, 67%, 77%)
CMYKcmyk(60.9%, 67%, 0%, 22.7%)
CIE-LABlab(36.72, 43.11, -67.25)
CIE-LCHlch(36.72, 79.88, 302.66°)
OKLaboklab(47.27% 0.0336 -0.1938)
OKLCHoklch(47.27% 0.197 279.8)
XYZxyz(15.0257, 9.3885, 53.8329)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41C5 #B9C541
analogous
#4177C5 #4D41C5 #8F41C5
triadic
#4D41C5 #C54D41 #41C54D
tetradic
#4D41C5 #C54177 #B9C541 #41C58F
square
#4D41C5 #C54177 #B9C541 #41C58F
split-complementary
#4D41C5 #C58F41 #77C541
monochromatic
#27216B #392F9A #4D41C5 #7970D3 #A59FE2

Accessibility & contrast

On white

7.30
#4D41C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4D41C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41C5
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41C5#FFFFFF#000000##FFFFFF
##4D41C51.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d41c5;
/* rgb */ color: rgb(77, 65, 197);
/* oklch */ color: oklch(47.3% 0.197 279.8);
Tailwind
colors: {
  custom: {
    50: '#8c77d8',
    500: '#4d41c5',
    950: '#000000',
  },
}
SCSS
$custom: #4d41c5;
$custom-light: #8c77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41c5",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 245.455,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47273,
    "c": 0.19665,
    "h": 279.8
  },
  "luminance": 0.0939
}

Semantic roles & 50–950 ramp

primary
#4D41C5
secondary
#C9CE94
accent
#DD4BCF
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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