#4D3FA8#4D3FA8

#4D3FA8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.5% C 0.162 H 283.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4D3FA8
RGBrgb(77, 63, 168)
HSLhsl(248, 45%, 45%)
HSVhsv(248, 63%, 66%)
CMYKcmyk(54.2%, 62.5%, 0%, 34.1%)
CIE-LABlab(33.90, 35.08, -54.72)
CIE-LCHlch(33.90, 65.00, 302.67°)
OKLaboklab(44.48% 0.0384 -0.157)
OKLCHoklch(44.48% 0.162 283.7)
XYZxyz(11.9038, 7.9593, 37.9472)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3FA8 #9AA83F
analogous
#3F65A8 #4D3FA8 #813FA8
triadic
#4D3FA8 #A84D3F #3FA84D
tetradic
#4D3FA8 #A83F65 #9AA83F #3FA881
square
#4D3FA8 #A83F65 #9AA83F #3FA881
split-complementary
#4D3FA8 #A8813F #65A83F
monochromatic
#241E4F #392E7B #4D3FA8 #6E61C4 #978DD4

Accessibility & contrast

On white

8.10
#4D3FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4D3FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3FA8
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3FA8#FFFFFF#000000##FFFFFF
##4D3FA81.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#26586D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d3fa8;
/* rgb */ color: rgb(77, 63, 168);
/* oklch */ color: oklch(44.5% 0.162 283.7);
Tailwind
colors: {
  custom: {
    50: '#8775c3',
    500: '#4d3fa8',
    950: '#000000',
  },
}
SCSS
$custom: #4d3fa8;
$custom-light: #8775c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3fa8",
  "rgb": {
    "r": 77,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 248,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44483,
    "c": 0.16159,
    "h": 283.7
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

primary
#4D3FA8
secondary
#B7BF84
accent
#D553C4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D3FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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