#4D3CAF#4D3CAF

#4D3CAF is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.6% C 0.175 H 283.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4D3CAF
RGBrgb(77, 60, 175)
HSLhsl(249, 49%, 46%)
HSVhsv(249, 66%, 69%)
CMYKcmyk(56%, 65.7%, 0%, 31.4%)
CIE-LABlab(33.78, 39.09, -59.08)
CIE-LCHlch(33.78, 70.85, 303.49°)
OKLaboklab(44.57% 0.0407 -0.1698)
OKLCHoklch(44.57% 0.175 283.5)
XYZxyz(12.4119, 7.9039, 41.4207)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CAF #9EAF3C
analogous
#3C64AF #4D3CAF #863CAF
triadic
#4D3CAF #AF4D3C #3CAF4D
tetradic
#4D3CAF #AF3C64 #9EAF3C #3CAF86
square
#4D3CAF #AF3C64 #9EAF3C #3CAF86
split-complementary
#4D3CAF #AF863C #64AF3C
monochromatic
#251D54 #392C81 #4D3CAF #6F60C8 #988DD8

Accessibility & contrast

On white

8.14
#4D3CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4D3CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3CAF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CAF#FFFFFF#000000##FFFFFF
##4D3CAF1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#1E5970
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d3caf;
/* rgb */ color: rgb(77, 60, 175);
/* oklch */ color: oklch(44.6% 0.175 283.5);
Tailwind
colors: {
  custom: {
    50: '#8873c8',
    500: '#4d3caf',
    950: '#000000',
  },
}
SCSS
$custom: #4d3caf;
$custom-light: #8873c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3caf",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 248.87,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44574,
    "c": 0.17461,
    "h": 283.5
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#4D3CAF
secondary
#B9C384
accent
#D84FC4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D3CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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