#4D43B8#4D43B8

#4D43B8 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.5% C 0.178 H 280.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4D43B8
RGBrgb(77, 67, 184)
HSLhsl(245, 47%, 49%)
HSVhsv(245, 64%, 72%)
CMYKcmyk(58.2%, 63.6%, 0%, 27.8%)
CIE-LABlab(36.08, 37.76, -60.66)
CIE-LCHlch(36.08, 71.46, 301.90°)
OKLaboklab(46.48% 0.0333 -0.1744)
OKLCHoklch(46.48% 0.178 280.8)
XYZxyz(13.7167, 9.0519, 46.3625)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D43B8 #AEB843
analogous
#4374B8 #4D43B8 #8843B8
triadic
#4D43B8 #B84D43 #43B84D
tetradic
#4D43B8 #B84374 #AEB843 #43B888
square
#4D43B8 #B84374 #AEB843 #43B888
split-complementary
#4D43B8 #B88843 #74B843
monochromatic
#27225E #3A338B #4D43B8 #766ECA #A09BDB

Accessibility & contrast

On white

7.47
#4D43B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4D43B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D43B8
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D43B8#FFFFFF#000000##FFFFFF
##4D43B81.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#0A6077
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4d43b8;
/* rgb */ color: rgb(77, 67, 184);
/* oklch */ color: oklch(46.5% 0.178 280.8);
Tailwind
colors: {
  custom: {
    50: '#8978ce',
    500: '#4d43b8',
    950: '#000000',
  },
}
SCSS
$custom: #4d43b8;
$custom-light: #8978ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d43b8",
  "rgb": {
    "r": 77,
    "g": 67,
    "b": 184
  },
  "hsl": {
    "h": 245.128,
    "s": 46.614,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46476,
    "c": 0.17757,
    "h": 280.8
  },
  "luminance": 0.09053
}

Semantic roles & 50–950 ramp

primary
#4D43B8
secondary
#C2C790
accent
#D652CB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4D43B8

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

Preview Lab → · Contrast checker → · Palette generator →

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