#4D41CE#4D41CE

#4D41CE is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.1% C 0.208 H 279.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4D41CE
RGBrgb(77, 65, 206)
HSLhsl(245, 59%, 53%)
HSVhsv(245, 68%, 81%)
CMYKcmyk(62.6%, 68.4%, 0%, 19.2%)
CIE-LABlab(37.51, 45.95, -71.19)
CIE-LCHlch(37.51, 84.74, 302.84°)
OKLaboklab(48.08% 0.0323 -0.2053)
OKLCHoklch(48.08% 0.208 279)
XYZxyz(16.0879, 9.8134, 59.4269)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41CE #C2CE41
analogous
#417CCE #4D41CE #9341CE
triadic
#4D41CE #CE4D41 #41CE4D
tetradic
#4D41CE #CE417C #C2CE41 #41CE93
square
#4D41CE #CE417C #C2CE41 #41CE93
split-complementary
#4D41CE #CE9341 #7CCE41
monochromatic
#261E76 #362BA7 #4D41CE #7B72DB #A8A2E7

Accessibility & contrast

On white

7.09
#4D41CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4D41CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41CE
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41CE#FFFFFF#000000##FFFFFF
##4D41CE1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d41ce;
/* rgb */ color: rgb(77, 65, 206);
/* oklch */ color: oklch(48.1% 0.208 279.0);
Tailwind
colors: {
  custom: {
    50: '#8d77de',
    500: '#4d41ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d41ce;
$custom-light: #8d77de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41ce",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 245.106,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48078,
    "c": 0.20785,
    "h": 279
  },
  "luminance": 0.09815
}

Semantic roles & 50–950 ramp

primary
#4D41CE
secondary
#CFD497
accent
#E246D5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4D41CE

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

Preview Lab → · Contrast checker → · Palette generator →

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