#4D3EC8#4D3EC8

#4D3EC8 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.1% C 0.204 H 280.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#4D3EC8
RGBrgb(77, 62, 200)
HSLhsl(247, 56%, 51%)
HSVhsv(247, 69%, 78%)
CMYKcmyk(61.5%, 69%, 0%, 21.6%)
CIE-LABlab(36.35, 45.78, -69.60)
CIE-LCHlch(36.35, 83.31, 303.33°)
OKLaboklab(47.09% 0.0355 -0.2007)
OKLCHoklch(47.09% 0.204 280)
XYZxyz(15.2052, 9.1920, 55.6054)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3EC8 #B9C83E
analogous
#3E74C8 #4D3EC8 #923EC8
triadic
#4D3EC8 #C84D3E #3EC84D
tetradic
#4D3EC8 #C83E74 #B9C83E #3EC892
square
#4D3EC8 #C83E74 #B9C83E #3EC892
split-complementary
#4D3EC8 #C8923E #74C83E
monochromatic
#271F6D #392D9C #4D3EC8 #796ED6 #A59DE3

Accessibility & contrast

On white

7.40
#4D3EC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4D3EC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3EC8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3EC8#FFFFFF#000000##FFFFFF
##4D3EC81.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4d3ec8;
/* rgb */ color: rgb(77, 62, 200);
/* oklch */ color: oklch(47.1% 0.204 280.0);
Tailwind
colors: {
  custom: {
    50: '#8d75da',
    500: '#4d3ec8',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ec8;
$custom-light: #8d75da;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ec8",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 246.522,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47087,
    "c": 0.20378,
    "h": 280
  },
  "luminance": 0.09193
}

Semantic roles & 50–950 ramp

primary
#4D3EC8
secondary
#C9CF92
accent
#DF49CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4D3EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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