#4D3CB2#4D3CB2

#4D3CB2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.8% C 0.178 H 283.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4D3CB2
RGBrgb(77, 60, 178)
HSLhsl(249, 50%, 47%)
HSVhsv(249, 66%, 70%)
CMYKcmyk(56.7%, 66.3%, 0%, 30.2%)
CIE-LABlab(34.03, 40.03, -60.46)
CIE-LCHlch(34.03, 72.51, 303.51°)
OKLaboklab(44.83% 0.0403 -0.1739)
OKLCHoklch(44.83% 0.178 283.1)
XYZxyz(12.7098, 8.0231, 42.9897)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CB2 #A1B23C
analogous
#3C66B2 #4D3CB2 #883CB2
triadic
#4D3CB2 #B24D3C #3CB24D
tetradic
#4D3CB2 #B23C66 #A1B23C #3CB288
square
#4D3CB2 #B23C66 #A1B23C #3CB288
split-complementary
#4D3CB2 #B2883C #66B23C
monochromatic
#251D56 #392D84 #4D3CB2 #7061CA #9A8FD9

Accessibility & contrast

On white

8.06
#4D3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4D3CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3CB2
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CB2#FFFFFF#000000##FFFFFF
##4D3CB21.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#1A5A72
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d3cb2;
/* rgb */ color: rgb(77, 60, 178);
/* oklch */ color: oklch(44.8% 0.178 283.1);
Tailwind
colors: {
  custom: {
    50: '#8973ca',
    500: '#4d3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #4d3cb2;
$custom-light: #8973ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3cb2",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 248.644,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44832,
    "c": 0.17847,
    "h": 283.1
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#4D3CB2
secondary
#BBC486
accent
#D94FC5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4D3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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