#4D43C4#4D43C4

#4D43C4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.5% C 0.193 H 279.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#4D43C4
RGBrgb(77, 67, 196)
HSLhsl(245, 52%, 52%)
HSVhsv(245, 66%, 77%)
CMYKcmyk(60.7%, 65.8%, 0%, 23.1%)
CIE-LABlab(37.07, 41.62, -66.09)
CIE-LCHlch(37.07, 78.10, 302.20°)
OKLaboklab(47.5% 0.0321 -0.1904)
OKLCHoklch(47.5% 0.193 279.6)
XYZxyz(15.0284, 9.5765, 53.2704)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D43C4 #BAC443
analogous
#437AC4 #4D43C4 #8E43C4
triadic
#4D43C4 #C44D43 #43C44D
tetradic
#4D43C4 #C4437A #BAC443 #43C48E
square
#4D43C4 #C4437A #BAC443 #43C48E
split-complementary
#4D43C4 #C48E43 #7AC443
monochromatic
#27226B #38309A #4D43C4 #7972D3 #A5A0E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D43C4#FFFFFF#000000##FFFFFF
##4D43C41.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)
#005CC8
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d43c4;
/* rgb */ color: rgb(77, 67, 196);
/* oklch */ color: oklch(47.5% 0.193 279.6);
Tailwind
colors: {
  custom: {
    50: '#8b78d7',
    500: '#4d43c4',
    950: '#000000',
  },
}
SCSS
$custom: #4d43c4;
$custom-light: #8b78d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d43c4",
  "rgb": {
    "r": 77,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 244.651,
    "s": 52.227,
    "l": 51.569
  },
  "oklch": {
    "l": 0.475,
    "c": 0.19305,
    "h": 279.6
  },
  "luminance": 0.09578
}

Semantic roles & 50–950 ramp

primary
#4D43C4
secondary
#C9CE95
accent
#DC4CD1
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D43C4

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

Preview Lab → · Contrast checker → · Palette generator →

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