#4E43A7#4E43A7

#4E43A7 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.2% C 0.155 H 283.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4E43A7
RGBrgb(78, 67, 167)
HSLhsl(247, 43%, 46%)
HSVhsv(247, 60%, 65%)
CMYKcmyk(53.3%, 59.9%, 0%, 34.5%)
CIE-LABlab(34.85, 32.50, -52.57)
CIE-LCHlch(34.85, 61.80, 301.73°)
OKLaboklab(45.18% 0.0355 -0.1506)
OKLCHoklch(45.18% 0.155 283.3)
XYZxyz(12.1220, 8.4234, 37.5389)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43A7 #9CA743
analogous
#436AA7 #4E43A7 #8043A7
triadic
#4E43A7 #A74E43 #43A74E
tetradic
#4E43A7 #A7436A #9CA743 #43A780
square
#4E43A7 #A7436A #9CA743 #43A780
split-complementary
#4E43A7 #A78043 #6AA743
monochromatic
#252050 #3A317B #4E43A7 #7066C1 #9991D3

Accessibility & contrast

On white

7.82
#4E43A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4E43A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43A7
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43A7#FFFFFF#000000##FFFFFF
##4E43A71.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#295A6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e43a7;
/* rgb */ color: rgb(78, 67, 167);
/* oklch */ color: oklch(45.2% 0.155 283.3);
Tailwind
colors: {
  custom: {
    50: '#8777c2',
    500: '#4e43a7',
    950: '#000000',
  },
}
SCSS
$custom: #4e43a7;
$custom-light: #8777c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43a7",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 167
  },
  "hsl": {
    "h": 246.6,
    "s": 42.735,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45178,
    "c": 0.15473,
    "h": 283.3
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#4E43A7
secondary
#B8BE87
accent
#D355C5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E43A7

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

Preview Lab → · Contrast checker → · Palette generator →

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