#4D41CA#4D41CA

#4D41CA is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.7% C 0.203 H 279.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4D41CA
RGBrgb(77, 65, 202)
HSLhsl(245, 56%, 52%)
HSVhsv(245, 68%, 79%)
CMYKcmyk(61.9%, 67.8%, 0%, 20.8%)
CIE-LABlab(37.15, 44.69, -69.45)
CIE-LCHlch(37.15, 82.59, 302.76°)
OKLaboklab(47.72% 0.0329 -0.2002)
OKLCHoklch(47.72% 0.203 279.3)
XYZxyz(15.6081, 9.6215, 56.9003)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41CA #BECA41
analogous
#417ACA #4D41CA #9141CA
triadic
#4D41CA #CA4D41 #41CA4D
tetradic
#4D41CA #CA417A #BECA41 #41CA91
square
#4D41CA #CA417A #BECA41 #41CA91
split-complementary
#4D41CA #CA9141 #7ACA41
monochromatic
#272071 #372DA1 #4D41CA #7A71D7 #A7A1E5

Accessibility & contrast

On white

7.18
#4D41CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4D41CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41CA
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41CA#FFFFFF#000000##FFFFFF
##4D41CA1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d41ca;
/* rgb */ color: rgb(77, 65, 202);
/* oklch */ color: oklch(47.7% 0.203 279.3);
Tailwind
colors: {
  custom: {
    50: '#8d77db',
    500: '#4d41ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d41ca;
$custom-light: #8d77db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41ca",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 245.255,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47718,
    "c": 0.2029,
    "h": 279.3
  },
  "luminance": 0.09623
}

Semantic roles & 50–950 ramp

primary
#4D41CA
secondary
#CCD196
accent
#E048D2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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