#4D41AF#4D41AF

#4D41AF is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.4% C 0.168 H 282.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4D41AF
RGBrgb(77, 65, 175)
HSLhsl(247, 46%, 47%)
HSVhsv(247, 63%, 69%)
CMYKcmyk(56%, 62.9%, 0%, 31.4%)
CIE-LABlab(34.91, 36.09, -57.25)
CIE-LCHlch(34.91, 67.68, 302.23°)
OKLaboklab(45.39% 0.0359 -0.1644)
OKLCHoklch(45.39% 0.168 282.3)
XYZxyz(12.6863, 8.4527, 41.5122)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D41AF #A3AF41
analogous
#416CAF #4D41AF #8441AF
triadic
#4D41AF #AF4D41 #41AF4D
tetradic
#4D41AF #AF416C #A3AF41 #41AF84
square
#4D41AF #AF416C #A3AF41 #41AF84
split-complementary
#4D41AF #AF8441 #6CAF41
monochromatic
#262056 #393082 #4D41AF #7167C6 #9B93D7

Accessibility & contrast

On white

7.80
#4D41AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4D41AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D41AF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D41AF#FFFFFF#000000##FFFFFF
##4D41AF1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#1D5C72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d41af;
/* rgb */ color: rgb(77, 65, 175);
/* oklch */ color: oklch(45.4% 0.168 282.3);
Tailwind
colors: {
  custom: {
    50: '#8876c8',
    500: '#4d41af',
    950: '#000000',
  },
}
SCSS
$custom: #4d41af;
$custom-light: #8876c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d41af",
  "rgb": {
    "r": 77,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 246.545,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45394,
    "c": 0.16828,
    "h": 282.3
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#4D41AF
secondary
#BCC289
accent
#D552C7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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