#4D41CC#4D41CC

#4D41CC is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.9% C 0.205 H 279.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4D41CC
RGBrgb(77, 65, 204)
HSLhsl(245, 58%, 53%)
HSVhsv(245, 68%, 80%)
CMYKcmyk(62.3%, 68.1%, 0%, 20%)
CIE-LABlab(37.33, 45.32, -70.32)
CIE-LCHlch(37.33, 83.66, 302.80°)
OKLaboklab(47.9% 0.0326 -0.2028)
OKLCHoklch(47.9% 0.205 279.1)
XYZxyz(15.8465, 9.7168, 58.1555)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41CC #C0CC41
analogous
#417ACC #4D41CC #9341CC
triadic
#4D41CC #CC4D41 #41CC4D
tetradic
#4D41CC #CC417A #C0CC41 #41CC93
square
#4D41CC #CC417A #C0CC41 #41CC93
split-complementary
#4D41CC #CC9341 #7ACC41
monochromatic
#261F74 #362CA4 #4D41CC #7A71D9 #A7A1E6

Accessibility & contrast

On white

7.13
#4D41CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4D41CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41CC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41CC#FFFFFF#000000##FFFFFF
##4D41CC1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0052C9
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d41cc;
/* rgb */ color: rgb(77, 65, 204);
/* oklch */ color: oklch(47.9% 0.205 279.1);
Tailwind
colors: {
  custom: {
    50: '#8d77dd',
    500: '#4d41cc',
    950: '#000000',
  },
}
SCSS
$custom: #4d41cc;
$custom-light: #8d77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41cc",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 245.18,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47898,
    "c": 0.20538,
    "h": 279.1
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

primary
#4D41CC
secondary
#CDD396
accent
#E147D4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4D41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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