#4D43B9#4D43B9

#4D43B9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.179 H 280.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4D43B9
RGBrgb(77, 67, 185)
HSLhsl(245, 47%, 49%)
HSVhsv(245, 64%, 73%)
CMYKcmyk(58.4%, 63.8%, 0%, 27.5%)
CIE-LABlab(36.16, 38.09, -61.12)
CIE-LCHlch(36.16, 72.02, 301.93°)
OKLaboklab(46.56% 0.0332 -0.1758)
OKLCHoklch(46.56% 0.179 280.7)
XYZxyz(13.8219, 9.0939, 46.9165)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D43B9 #AFB943
analogous
#4374B9 #4D43B9 #8843B9
triadic
#4D43B9 #B94D43 #43B94D
tetradic
#4D43B9 #B94374 #AFB943 #43B988
square
#4D43B9 #B94374 #AFB943 #43B988
split-complementary
#4D43B9 #B98843 #74B943
monochromatic
#28225F #3A338C #4D43B9 #766FCB #A19BDB

Accessibility & contrast

On white

7.45
#4D43B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4D43B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D43B9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D43B9#FFFFFF#000000##FFFFFF
##4D43B91.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#076078
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4d43b9;
/* rgb */ color: rgb(77, 67, 185);
/* oklch */ color: oklch(46.6% 0.179 280.7);
Tailwind
colors: {
  custom: {
    50: '#8a78cf',
    500: '#4d43b9',
    950: '#000000',
  },
}
SCSS
$custom: #4d43b9;
$custom-light: #8a78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d43b9",
  "rgb": {
    "r": 77,
    "g": 67,
    "b": 185
  },
  "hsl": {
    "h": 245.085,
    "s": 46.825,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46559,
    "c": 0.17888,
    "h": 280.7
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#4D43B9
secondary
#C3C791
accent
#D651CB
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4D43B9

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

Preview Lab → · Contrast checker → · Palette generator →

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