#4D41CF#4D41CF

#4D41CF is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.2% C 0.209 H 278.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4D41CF
RGBrgb(77, 65, 207)
HSLhsl(245, 60%, 53%)
HSVhsv(245, 69%, 81%)
CMYKcmyk(62.8%, 68.6%, 0%, 18.8%)
CIE-LABlab(37.59, 46.27, -71.63)
CIE-LCHlch(37.59, 85.27, 302.86°)
OKLaboklab(48.17% 0.0322 -0.2066)
OKLCHoklch(48.17% 0.209 278.9)
XYZxyz(16.2097, 9.8621, 60.0688)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41CF #C3CF41
analogous
#417CCF #4D41CF #9441CF
triadic
#4D41CF #CF4D41 #41CF4D
tetradic
#4D41CF #CF417C #C3CF41 #41CF94
square
#4D41CF #CF417C #C3CF41 #41CF94
split-complementary
#4D41CF #CF9441 #7CCF41
monochromatic
#261E77 #352BA8 #4D41CF #7B72DB #A9A3E8

Accessibility & contrast

On white

7.06
#4D41CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4D41CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41CF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41CF#FFFFFF#000000##FFFFFF
##4D41CF1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#0053CC
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d41cf;
/* rgb */ color: rgb(77, 65, 207);
/* oklch */ color: oklch(48.2% 0.209 278.9);
Tailwind
colors: {
  custom: {
    50: '#8e77df',
    500: '#4d41cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d41cf;
$custom-light: #8e77df;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41cf",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 245.07,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.20908,
    "h": 278.9
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D41CF

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

Preview Lab → · Contrast checker → · Palette generator →

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