#4E3AB8#4E3AB8

#4E3AB8 is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.1% C 0.188 H 283.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4E3AB8
RGBrgb(78, 58, 184)
HSLhsl(250, 52%, 47%)
HSVhsv(250, 68%, 72%)
CMYKcmyk(57.6%, 68.5%, 0%, 27.8%)
CIE-LABlab(34.20, 43.22, -63.73)
CIE-LCHlch(34.20, 77.01, 304.14°)
OKLaboklab(45.13% 0.0426 -0.1834)
OKLCHoklch(45.13% 0.188 283.1)
XYZxyz(13.3040, 8.1057, 46.2016)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AB8 #A4B83A
analogous
#3A65B8 #4E3AB8 #8D3AB8
triadic
#4E3AB8 #B84E3A #3AB84E
tetradic
#4E3AB8 #B83A65 #A4B83A #3AB88D
square
#4E3AB8 #B83A65 #A4B83A #3AB88D
split-complementary
#4E3AB8 #B88D3A #65B83A
monochromatic
#271D5B #3A2B89 #4E3AB8 #7362CD #9C90DC

Accessibility & contrast

On white

8.01
#4E3AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4E3AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AB8
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AB8#FFFFFF#000000##FFFFFF
##4E3AB81.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#004CB6
Tritanopia (blue-blind)
#135B74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e3ab8;
/* rgb */ color: rgb(78, 58, 184);
/* oklch */ color: oklch(45.1% 0.188 283.1);
Tailwind
colors: {
  custom: {
    50: '#8b72ce',
    500: '#4e3ab8',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ab8;
$custom-light: #8b72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ab8",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 249.524,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45134,
    "c": 0.18831,
    "h": 283.1
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

primary
#4E3AB8
secondary
#BDC787
accent
#DC4CC5
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E3AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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