#4E3BBA#4E3BBA

#4E3BBA is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.5% C 0.190 H 282.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#4E3BBA
RGBrgb(78, 59, 186)
HSLhsl(249, 52%, 48%)
HSVhsv(249, 68%, 73%)
CMYKcmyk(58.1%, 68.3%, 0%, 27.1%)
CIE-LABlab(34.58, 43.27, -64.29)
CIE-LCHlch(34.58, 77.50, 303.94°)
OKLaboklab(45.46% 0.0415 -0.1851)
OKLCHoklch(45.46% 0.19 282.6)
XYZxyz(13.5660, 8.2919, 47.3305)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3BBA #A7BA3B
analogous
#3B68BA #4E3BBA #8D3BBA
triadic
#4E3BBA #BA4E3B #3BBA4E
tetradic
#4E3BBA #BA3B68 #A7BA3B #3BBA8D
square
#4E3BBA #BA3B68 #A7BA3B #3BBA8D
split-complementary
#4E3BBA #BA8D3B #68BA3B
monochromatic
#271E5D #3B2C8C #4E3BBA #7464CE #9E93DD

Accessibility & contrast

On white

7.90
#4E3BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4E3BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3BBA
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3BBA#FFFFFF#000000##FFFFFF
##4E3BBA1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#0E5C76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e3bba;
/* rgb */ color: rgb(78, 59, 186);
/* oklch */ color: oklch(45.5% 0.190 282.6);
Tailwind
colors: {
  custom: {
    50: '#8b73d0',
    500: '#4e3bba',
    950: '#000000',
  },
}
SCSS
$custom: #4e3bba;
$custom-light: #8b73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3bba",
  "rgb": {
    "r": 78,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 248.976,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45462,
    "c": 0.18965,
    "h": 282.6
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#4E3BBA
secondary
#BEC889
accent
#DB4DC6
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E3BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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