#4E43AF#4E43AF

#4E43AF is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.8% C 0.166 H 282.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4E43AF
RGBrgb(78, 67, 175)
HSLhsl(246, 45%, 47%)
HSVhsv(246, 62%, 69%)
CMYKcmyk(55.4%, 61.7%, 0%, 31.4%)
CIE-LABlab(35.46, 35.06, -56.35)
CIE-LCHlch(35.46, 66.37, 301.88°)
OKLaboklab(45.82% 0.0352 -0.1617)
OKLCHoklch(45.82% 0.166 282.3)
XYZxyz(12.8845, 8.7284, 41.5549)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43AF #A4AF43
analogous
#436EAF #4E43AF #8443AF
triadic
#4E43AF #AF4E43 #43AF4E
tetradic
#4E43AF #AF436E #A4AF43 #43AF84
square
#4E43AF #AF436E #A4AF43 #43AF84
split-complementary
#4E43AF #AF8443 #6EAF43
monochromatic
#272156 #3A3283 #4E43AF #7369C6 #9C96D7

Accessibility & contrast

On white

7.65
#4E43AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4E43AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43AF
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43AF#FFFFFF#000000##FFFFFF
##4E43AF1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#205D72
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e43af;
/* rgb */ color: rgb(78, 67, 175);
/* oklch */ color: oklch(45.8% 0.166 282.3);
Tailwind
colors: {
  custom: {
    50: '#8878c8',
    500: '#4e43af',
    950: '#000000',
  },
}
SCSS
$custom: #4e43af;
$custom-light: #8878c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43af",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 246.111,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45815,
    "c": 0.16552,
    "h": 282.3
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#4E43AF
secondary
#BDC28B
accent
#D453C7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E43AF

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

Preview Lab → · Contrast checker → · Palette generator →

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