#4E3BAF#4E3BAF

#4E3BAF is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.5% C 0.176 H 284.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4E3BAF
RGBrgb(78, 59, 175)
HSLhsl(250, 50%, 46%)
HSVhsv(250, 66%, 69%)
CMYKcmyk(55.4%, 66.3%, 0%, 31.4%)
CIE-LABlab(33.65, 39.85, -59.29)
CIE-LCHlch(33.65, 71.44, 303.91°)
OKLaboklab(44.5% 0.043 -0.1704)
OKLCHoklch(44.5% 0.176 284.2)
XYZxyz(12.4414, 7.8421, 41.4072)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3BAF #9CAF3B
analogous
#3B62AF #4E3BAF #883BAF
triadic
#4E3BAF #AF4E3B #3BAF4E
tetradic
#4E3BAF #AF3B62 #9CAF3B #3BAF88
square
#4E3BAF #AF3B62 #9CAF3B #3BAF88
split-complementary
#4E3BAF #AF883B #62AF3B
monochromatic
#251C53 #3A2C81 #4E3BAF #705EC9 #998CD8

Accessibility & contrast

On white

8.18
#4E3BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E3BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3BAF
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3BAF#FFFFFF#000000##FFFFFF
##4E3BAF1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#225870
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3baf;
/* rgb */ color: rgb(78, 59, 175);
/* oklch */ color: oklch(44.5% 0.176 284.2);
Tailwind
colors: {
  custom: {
    50: '#8972c8',
    500: '#4e3baf',
    950: '#000000',
  },
}
SCSS
$custom: #4e3baf;
$custom-light: #8972c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3baf",
  "rgb": {
    "r": 78,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 249.828,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44502,
    "c": 0.17574,
    "h": 284.2
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#4E3BAF
secondary
#B8C383
accent
#D94FC2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4E3BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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