#4D3CA8#4D3CA8

#4D3CA8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.0% C 0.166 H 284.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4D3CA8
RGBrgb(77, 60, 168)
HSLhsl(249, 47%, 45%)
HSVhsv(249, 64%, 66%)
CMYKcmyk(54.2%, 64.3%, 0%, 34.1%)
CIE-LABlab(33.21, 36.90, -55.83)
CIE-LCHlch(33.21, 66.92, 303.46°)
OKLaboklab(43.98% 0.0414 -0.1602)
OKLCHoklch(43.98% 0.166 284.5)
XYZxyz(11.7422, 7.6360, 37.8934)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CA8 #97A83C
analogous
#3C61A8 #4D3CA8 #833CA8
triadic
#4D3CA8 #A84D3C #3CA84D
tetradic
#4D3CA8 #A83C61 #97A83C #3CA883
square
#4D3CA8 #A83C61 #97A83C #3CA883
split-complementary
#4D3CA8 #A8833C #61A83C
monochromatic
#241C4E #382C7B #4D3CA8 #6D5CC5 #9589D5

Accessibility & contrast

On white

8.31
#4D3CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4D3CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3CA8
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CA8#FFFFFF#000000##FFFFFF
##4D3CA81.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#26566C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d3ca8;
/* rgb */ color: rgb(77, 60, 168);
/* oklch */ color: oklch(44.0% 0.166 284.5);
Tailwind
colors: {
  custom: {
    50: '#8773c3',
    500: '#4d3ca8',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ca8;
$custom-light: #8773c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ca8",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 249.444,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43984,
    "c": 0.16551,
    "h": 284.5
  },
  "luminance": 0.07637
}

Semantic roles & 50–950 ramp

primary
#4D3CA8
secondary
#B6BF80
accent
#D751C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D3CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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