#4E43A8#4E43A8

#4E43A8 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.3% C 0.156 H 283.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4E43A8
RGBrgb(78, 67, 168)
HSLhsl(247, 43%, 46%)
HSVhsv(247, 60%, 66%)
CMYKcmyk(53.6%, 60.1%, 0%, 34.1%)
CIE-LABlab(34.92, 32.82, -53.05)
CIE-LCHlch(34.92, 62.38, 301.75°)
OKLaboklab(45.26% 0.0355 -0.152)
OKLCHoklch(45.26% 0.156 283.1)
XYZxyz(12.2148, 8.4605, 38.0276)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43A8 #9DA843
analogous
#436AA8 #4E43A8 #8043A8
triadic
#4E43A8 #A84E43 #43A84E
tetradic
#4E43A8 #A8436A #9DA843 #43A880
square
#4E43A8 #A8436A #9DA843 #43A880
split-complementary
#4E43A8 #A88043 #6AA843
monochromatic
#252050 #3A327C #4E43A8 #7066C2 #9992D3

Accessibility & contrast

On white

7.80
#4E43A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E43A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43A8
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43A8#FFFFFF#000000##FFFFFF
##4E43A81.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#285B6F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e43a8;
/* rgb */ color: rgb(78, 67, 168);
/* oklch */ color: oklch(45.3% 0.156 283.1);
Tailwind
colors: {
  custom: {
    50: '#8777c3',
    500: '#4e43a8',
    950: '#000000',
  },
}
SCSS
$custom: #4e43a8;
$custom-light: #8777c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43a8",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 168
  },
  "hsl": {
    "h": 246.535,
    "s": 42.979,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45257,
    "c": 0.1561,
    "h": 283.1
  },
  "luminance": 0.08461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E43A8

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

Preview Lab → · Contrast checker → · Palette generator →

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