#4E43AC#4E43AC

#4E43AC is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.6% C 0.162 H 282.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4E43AC
RGBrgb(78, 67, 172)
HSLhsl(246, 44%, 47%)
HSVhsv(246, 61%, 67%)
CMYKcmyk(54.7%, 61%, 0%, 32.5%)
CIE-LABlab(35.23, 34.10, -54.94)
CIE-LCHlch(35.23, 64.66, 301.82°)
OKLaboklab(45.57% 0.0353 -0.1576)
OKLCHoklch(45.57% 0.162 282.6)
XYZxyz(12.5932, 8.6118, 40.0204)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43AC #A1AC43
analogous
#436DAC #4E43AC #8343AC
triadic
#4E43AC #AC4E43 #43AC4E
tetradic
#4E43AC #AC436D #A1AC43 #43AC83
square
#4E43AC #AC436D #A1AC43 #43AC83
split-complementary
#4E43AC #AC8343 #6DAC43
monochromatic
#262154 #3A3280 #4E43AC #7268C4 #9B94D5

Accessibility & contrast

On white

7.71
#4E43AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4E43AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43AC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43AC#FFFFFF#000000##FFFFFF
##4E43AC1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#245C71
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e43ac;
/* rgb */ color: rgb(78, 67, 172);
/* oklch */ color: oklch(45.6% 0.162 282.6);
Tailwind
colors: {
  custom: {
    50: '#8878c5',
    500: '#4e43ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e43ac;
$custom-light: #8878c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43ac",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 246.286,
    "s": 43.933,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45574,
    "c": 0.1615,
    "h": 282.6
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#4E43AC
secondary
#BBC18A
accent
#D454C6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E43AC

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

Preview Lab → · Contrast checker → · Palette generator →

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