#4D41CB#4D41CB

#4D41CB is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.8% C 0.204 H 279.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4D41CB
RGBrgb(77, 65, 203)
HSLhsl(245, 57%, 53%)
HSVhsv(245, 68%, 80%)
CMYKcmyk(62.1%, 68%, 0%, 20.4%)
CIE-LABlab(37.24, 45.01, -69.89)
CIE-LCHlch(37.24, 83.13, 302.78°)
OKLaboklab(47.81% 0.0328 -0.2015)
OKLCHoklch(47.81% 0.204 279.2)
XYZxyz(15.7269, 9.6690, 57.5259)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41CB #BFCB41
analogous
#417ACB #4D41CB #9241CB
triadic
#4D41CB #CB4D41 #41CB4D
tetradic
#4D41CB #CB417A #BFCB41 #41CB92
square
#4D41CB #CB417A #BFCB41 #41CB92
split-complementary
#4D41CB #CB9241 #7ACB41
monochromatic
#271F72 #372CA2 #4D41CB #7A71D8 #A7A1E5

Accessibility & contrast

On white

7.16
#4D41CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4D41CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41CB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41CB#FFFFFF#000000##FFFFFF
##4D41CB1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d41cb;
/* rgb */ color: rgb(77, 65, 203);
/* oklch */ color: oklch(47.8% 0.204 279.2);
Tailwind
colors: {
  custom: {
    50: '#8d77dc',
    500: '#4d41cb',
    950: '#000000',
  },
}
SCSS
$custom: #4d41cb;
$custom-light: #8d77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41cb",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 245.217,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47808,
    "c": 0.20414,
    "h": 279.2
  },
  "luminance": 0.0967
}

Semantic roles & 50–950 ramp

primary
#4D41CB
secondary
#CDD296
accent
#E048D3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D41CB

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

Preview Lab → · Contrast checker → · Palette generator →

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