#4D41B8#4D41B8

#4D41B8 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.1% C 0.180 H 281.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4D41B8
RGBrgb(77, 65, 184)
HSLhsl(246, 48%, 49%)
HSVhsv(246, 65%, 72%)
CMYKcmyk(58.2%, 64.7%, 0%, 27.8%)
CIE-LABlab(35.63, 38.97, -61.40)
CIE-LCHlch(35.63, 72.72, 302.40°)
OKLaboklab(46.15% 0.0351 -0.1766)
OKLCHoklch(46.15% 0.18 281.2)
XYZxyz(13.5999, 8.8182, 46.3235)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41B8 #ACB841
analogous
#4171B8 #4D41B8 #8941B8
triadic
#4D41B8 #B84D41 #41B84D
tetradic
#4D41B8 #B84171 #ACB841 #41B889
square
#4D41B8 #B84171 #ACB841 #41B889
split-complementary
#4D41B8 #B88941 #71B841
monochromatic
#27215E #3A318B #4D41B8 #756BCB #9F99DB

Accessibility & contrast

On white

7.60
#4D41B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4D41B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41B8
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41B8#FFFFFF#000000##FFFFFF
##4D41B81.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#0B5F76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d41b8;
/* rgb */ color: rgb(77, 65, 184);
/* oklch */ color: oklch(46.1% 0.180 281.2);
Tailwind
colors: {
  custom: {
    50: '#8a76ce',
    500: '#4d41b8',
    950: '#000000',
  },
}
SCSS
$custom: #4d41b8;
$custom-light: #8a76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41b8",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 246.05,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46146,
    "c": 0.18006,
    "h": 281.2
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

primary
#4D41B8
secondary
#C1C78E
accent
#D750CA
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4D41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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