#4E3CBA#4E3CBA

#4E3CBA is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.6% C 0.188 H 282.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4E3CBA
RGBrgb(78, 60, 186)
HSLhsl(249, 51%, 48%)
HSVhsv(249, 68%, 73%)
CMYKcmyk(58.1%, 67.7%, 0%, 27.1%)
CIE-LABlab(34.79, 42.70, -63.95)
CIE-LCHlch(34.79, 76.89, 303.73°)
OKLaboklab(45.61% 0.0406 -0.184)
OKLCHoklch(45.61% 0.188 282.4)
XYZxyz(13.6179, 8.3957, 47.3478)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3CBA #A8BA3C
analogous
#3C69BA #4E3CBA #8D3CBA
triadic
#4E3CBA #BA4E3C #3CBA4E
tetradic
#4E3CBA #BA3C69 #A8BA3C #3CBA8D
square
#4E3CBA #BA3C69 #A8BA3C #3CBA8D
split-complementary
#4E3CBA #BA8D3C #69BA3C
monochromatic
#271E5D #3B2D8C #4E3CBA #7566CE #9E94DC

Accessibility & contrast

On white

7.84
#4E3CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3CBA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3CBA#FFFFFF#000000##FFFFFF
##4E3CBA1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#0E5D76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3cba;
/* rgb */ color: rgb(78, 60, 186);
/* oklch */ color: oklch(45.6% 0.188 282.4);
Tailwind
colors: {
  custom: {
    50: '#8b73d0',
    500: '#4e3cba',
    950: '#000000',
  },
}
SCSS
$custom: #4e3cba;
$custom-light: #8b73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3cba",
  "rgb": {
    "r": 78,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 248.571,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45613,
    "c": 0.18847,
    "h": 282.4
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E3CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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