#4D3DB2#4D3DB2

#4D3DB2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 45.0% C 0.177 H 282.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#4D3DB2
RGBrgb(77, 61, 178)
HSLhsl(248, 49%, 47%)
HSVhsv(248, 66%, 70%)
CMYKcmyk(56.7%, 65.7%, 0%, 30.2%)
CIE-LABlab(34.25, 39.44, -60.11)
CIE-LCHlch(34.25, 71.89, 303.28°)
OKLaboklab(44.99% 0.0394 -0.1728)
OKLCHoklch(44.99% 0.177 282.8)
XYZxyz(12.7627, 8.1288, 43.0073)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3DB2 #A2B23D
analogous
#3D68B2 #4D3DB2 #883DB2
triadic
#4D3DB2 #B24D3D #3DB24D
tetradic
#4D3DB2 #B23D68 #A2B23D #3DB288
square
#4D3DB2 #B23D68 #A2B23D #3DB288
split-complementary
#4D3DB2 #B2883D #68B23D
monochromatic
#261E57 #392D84 #4D3DB2 #7163C9 #9A90D9

Accessibility & contrast

On white

8.00
#4D3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4D3DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3DB2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3DB2#FFFFFF#000000##FFFFFF
##4D3DB21.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#195A72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d3db2;
/* rgb */ color: rgb(77, 61, 178);
/* oklch */ color: oklch(45.0% 0.177 282.8);
Tailwind
colors: {
  custom: {
    50: '#8974ca',
    500: '#4d3db2',
    950: '#000000',
  },
}
SCSS
$custom: #4d3db2;
$custom-light: #8974ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3db2",
  "rgb": {
    "r": 77,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 248.205,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4499,
    "c": 0.17724,
    "h": 282.8
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#4D3DB2
secondary
#BCC487
accent
#D94FC6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4D3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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