#4D3ED0#4D3ED0

#4D3ED0 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.8% C 0.214 H 279.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#4D3ED0
RGBrgb(77, 62, 208)
HSLhsl(246, 61%, 53%)
HSVhsv(246, 70%, 82%)
CMYKcmyk(63%, 70.2%, 0%, 18.4%)
CIE-LABlab(37.07, 48.27, -73.07)
CIE-LCHlch(37.07, 87.57, 303.45°)
OKLaboklab(47.82% 0.0342 -0.2108)
OKLCHoklch(47.82% 0.214 279.2)
XYZxyz(16.1647, 9.5758, 60.6588)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3ED0 #C1D03E
analogous
#3E78D0 #4D3ED0 #963ED0
triadic
#4D3ED0 #D04D3E #3ED04D
tetradic
#4D3ED0 #D03E78 #C1D03E #3ED096
square
#4D3ED0 #D03E78 #C1D03E #3ED096
split-complementary
#4D3ED0 #D0963E #78D03E
monochromatic
#261D77 #3629A8 #4D3ED0 #7A6FDC #A8A0E8

Accessibility & contrast

On white

7.20
#4D3ED0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4D3ED0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3ED0
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3ED0#FFFFFF#000000##FFFFFF
##4D3ED01.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD4
Deuteranopia (green-blind)
#0051CD
Tritanopia (blue-blind)
#006683
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d3ed0;
/* rgb */ color: rgb(77, 62, 208);
/* oklch */ color: oklch(47.8% 0.214 279.2);
Tailwind
colors: {
  custom: {
    50: '#8e75e0',
    500: '#4d3ed0',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ed0;
$custom-light: #8e75e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ed0",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 208
  },
  "hsl": {
    "h": 246.164,
    "s": 60.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47821,
    "c": 0.21355,
    "h": 279.2
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#4D3ED0
secondary
#CED495
accent
#E444D4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D3ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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