#4D41E8#4D41E8

#4D41E8 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.5% C 0.239 H 276.7°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#4D41E8
RGBrgb(77, 65, 232)
HSLhsl(244, 78%, 58%)
HSVhsv(244, 72%, 91%)
CMYKcmyk(66.8%, 72%, 0%, 9%)
CIE-LABlab(39.89, 54.06, -82.18)
CIE-LCHlch(39.89, 98.37, 303.34°)
OKLaboklab(50.5% 0.028 -0.2374)
OKLCHoklch(50.5% 0.239 276.7)
XYZxyz(19.5116, 11.1828, 77.4585)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41E8 #DCE841
analogous
#4189E8 #4D41E8 #A041E8
triadic
#4D41E8 #E84D41 #41E84D
tetradic
#4D41E8 #E84189 #DCE841 #41E8A0
square
#4D41E8 #E84189 #DCE841 #41E8A0
split-complementary
#4D41E8 #E8A041 #89E841
monochromatic
#1D139C #2719D2 #4D41E8 #8078EF #B3AEF5

Accessibility & contrast

On white

6.49
#4D41E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4D41E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D41E8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41E8#FFFFFF#000000##FFFFFF
##4D41E81.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065ED
Deuteranopia (green-blind)
#0057E5
Tritanopia (blue-blind)
#007091
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d41e8;
/* rgb */ color: rgb(77, 65, 232);
/* oklch */ color: oklch(50.5% 0.239 276.7);
Tailwind
colors: {
  custom: {
    50: '#9278f1',
    500: '#4d41e8',
    950: '#000000',
  },
}
SCSS
$custom: #4d41e8;
$custom-light: #9278f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41e8",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 232
  },
  "hsl": {
    "h": 244.311,
    "s": 78.404,
    "l": 58.235
  },
  "oklch": {
    "l": 0.50502,
    "c": 0.23908,
    "h": 276.7
  },
  "luminance": 0.11185
}

Semantic roles & 50–950 ramp

primary
#4D41E8
secondary
#DFE4A1
accent
#F533E7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4D41E8

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

Preview Lab → · Contrast checker → · Palette generator →

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