#4E3BB8#4E3BB8

#4E3BB8 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.3% C 0.187 H 282.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4E3BB8
RGBrgb(78, 59, 184)
HSLhsl(249, 51%, 48%)
HSVhsv(249, 68%, 72%)
CMYKcmyk(57.6%, 67.9%, 0%, 27.8%)
CIE-LABlab(34.41, 42.65, -63.39)
CIE-LCHlch(34.41, 76.40, 303.93°)
OKLaboklab(45.29% 0.0418 -0.1824)
OKLCHoklch(45.29% 0.187 282.9)
XYZxyz(13.3549, 8.2075, 46.2186)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3BB8 #A5B83B
analogous
#3B66B8 #4E3BB8 #8C3BB8
triadic
#4E3BB8 #B84E3B #3BB84E
tetradic
#4E3BB8 #B83B66 #A5B83B #3BB88C
square
#4E3BB8 #B83B66 #A5B83B #3BB88C
split-complementary
#4E3BB8 #B88C3B #66B83B
monochromatic
#271D5B #3A2C8A #4E3BB8 #7363CD #9D92DC

Accessibility & contrast

On white

7.95
#4E3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4E3BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3BB8
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3BB8#FFFFFF#000000##FFFFFF
##4E3BB81.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#135B74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e3bb8;
/* rgb */ color: rgb(78, 59, 184);
/* oklch */ color: oklch(45.3% 0.187 282.9);
Tailwind
colors: {
  custom: {
    50: '#8b72ce',
    500: '#4e3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #4e3bb8;
$custom-light: #8b72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3bb8",
  "rgb": {
    "r": 78,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 249.12,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45285,
    "c": 0.18714,
    "h": 282.9
  },
  "luminance": 0.08208
}

Semantic roles & 50–950 ramp

primary
#4E3BB8
secondary
#BDC788
accent
#DB4DC5
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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