#4D41E2#4D41E2

#4D41E2 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.9% C 0.232 H 277.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4D41E2
RGBrgb(77, 65, 226)
HSLhsl(244, 74%, 57%)
HSVhsv(244, 71%, 89%)
CMYKcmyk(65.9%, 71.2%, 0%, 11.4%)
CIE-LABlab(39.32, 52.21, -79.70)
CIE-LCHlch(39.32, 95.28, 303.23°)
OKLaboklab(49.93% 0.0291 -0.2302)
OKLCHoklch(49.93% 0.232 277.2)
XYZxyz(18.6739, 10.8477, 73.0465)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41E2 #D6E241
analogous
#4186E2 #4D41E2 #9E41E2
triadic
#4D41E2 #E24D41 #41E24D
tetradic
#4D41E2 #E24186 #D6E241 #41E29E
square
#4D41E2 #E24186 #D6E241 #41E29E
split-complementary
#4D41E2 #E29E41 #86E241
monochromatic
#201692 #2B1EC7 #4D41E2 #7F76EA #B0ABF2

Accessibility & contrast

On white

6.63
#4D41E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4D41E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D41E2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41E2#FFFFFF#000000##FFFFFF
##4D41E21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#0056DF
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d41e2;
/* rgb */ color: rgb(77, 65, 226);
/* oklch */ color: oklch(49.9% 0.232 277.2);
Tailwind
colors: {
  custom: {
    50: '#9178ec',
    500: '#4d41e2',
    950: '#000000',
  },
}
SCSS
$custom: #4d41e2;
$custom-light: #9178ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41e2",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 244.472,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.49931,
    "c": 0.23202,
    "h": 277.2
  },
  "luminance": 0.10849
}

Semantic roles & 50–950 ramp

primary
#4D41E2
secondary
#DBE09F
accent
#F038E2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D41E2

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

Preview Lab → · Contrast checker → · Palette generator →

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