#4D43C5#4D43C5

#4D43C5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.6% C 0.194 H 279.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4D43C5
RGBrgb(77, 67, 197)
HSLhsl(245, 53%, 52%)
HSVhsv(245, 66%, 77%)
CMYKcmyk(60.9%, 66%, 0%, 22.7%)
CIE-LABlab(37.16, 41.94, -66.54)
CIE-LCHlch(37.16, 78.65, 302.22°)
OKLaboklab(47.59% 0.032 -0.1917)
OKLCHoklch(47.59% 0.194 279.5)
XYZxyz(15.1426, 9.6222, 53.8718)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D43C5 #BBC543
analogous
#437AC5 #4D43C5 #8E43C5
triadic
#4D43C5 #C54D43 #43C54D
tetradic
#4D43C5 #C5437A #BBC543 #43C58E
square
#4D43C5 #C5437A #BBC543 #43C58E
split-complementary
#4D43C5 #C58E43 #7AC543
monochromatic
#27216C #38309B #4D43C5 #7972D3 #A6A1E2

Accessibility & contrast

On white

7.18
#4D43C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D43C5
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D43C5#FFFFFF#000000##FFFFFF
##4D43C51.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d43c5;
/* rgb */ color: rgb(77, 67, 197);
/* oklch */ color: oklch(47.6% 0.194 279.5);
Tailwind
colors: {
  custom: {
    50: '#8c78d8',
    500: '#4d43c5',
    950: '#000000',
  },
}
SCSS
$custom: #4d43c5;
$custom-light: #8c78d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d43c5",
  "rgb": {
    "r": 77,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 244.615,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47587,
    "c": 0.19432,
    "h": 279.5
  },
  "luminance": 0.09623
}

Semantic roles & 50–950 ramp

primary
#4D43C5
secondary
#CACE95
accent
#DC4CD1
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D43C5

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

Preview Lab → · Contrast checker → · Palette generator →

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