#4E3FB5#4E3FB5

#4E3FB5 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.6% C 0.178 H 282.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4E3FB5
RGBrgb(78, 63, 181)
HSLhsl(248, 48%, 48%)
HSVhsv(248, 65%, 71%)
CMYKcmyk(56.9%, 65.2%, 0%, 29%)
CIE-LABlab(35.02, 39.38, -60.62)
CIE-LCHlch(35.02, 72.28, 303.01°)
OKLaboklab(45.65% 0.0386 -0.1743)
OKLCHoklch(45.65% 0.178 282.5)
XYZxyz(13.2573, 8.5101, 44.6511)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FB5 #A6B53F
analogous
#3F6BB5 #4E3FB5 #893FB5
triadic
#4E3FB5 #B54E3F #3FB54E
tetradic
#4E3FB5 #B53F6B #A6B53F #3FB589
square
#4E3FB5 #B53F6B #A6B53F #3FB589
split-complementary
#4E3FB5 #B5893F #6BB53F
monochromatic
#271F5A #3A2F88 #4E3FB5 #7467CA #9D94DA

Accessibility & contrast

On white

7.77
#4E3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4E3FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3FB5
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FB5#FFFFFF#000000##FFFFFF
##4E3FB51.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#185D74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3fb5;
/* rgb */ color: rgb(78, 63, 181);
/* oklch */ color: oklch(45.6% 0.178 282.5);
Tailwind
colors: {
  custom: {
    50: '#8a75cc',
    500: '#4e3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fb5;
$custom-light: #8a75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fb5",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 247.627,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45649,
    "c": 0.17849,
    "h": 282.5
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#4E3FB5
secondary
#BEC58A
accent
#D850C7
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4E3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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