#4E3FB2#4E3FB2

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

Color values

HEX#4E3FB2
RGBrgb(78, 63, 178)
HSLhsl(248, 48%, 47%)
HSVhsv(248, 65%, 70%)
CMYKcmyk(56.2%, 64.6%, 0%, 30.2%)
CIE-LABlab(34.78, 38.43, -59.24)
CIE-LCHlch(34.78, 70.61, 302.97°)
OKLaboklab(45.4% 0.0389 -0.1702)
OKLCHoklch(45.4% 0.175 282.9)
XYZxyz(12.9528, 8.3883, 43.0474)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FB2 #A3B23F
analogous
#3F6AB2 #4E3FB2 #883FB2
triadic
#4E3FB2 #B24E3F #3FB24E
tetradic
#4E3FB2 #B23F6A #A3B23F #3FB288
square
#4E3FB2 #B23F6A #A3B23F #3FB288
split-complementary
#4E3FB2 #B2883F #6AB23F
monochromatic
#261F58 #3A2F85 #4E3FB2 #7266C9 #9C93D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E3FB2#FFFFFF#000000##FFFFFF
##4E3FB21.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)
#0056B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#1D5C73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3fb2;
/* rgb */ color: rgb(78, 63, 178);
/* oklch */ color: oklch(45.4% 0.175 282.9);
Tailwind
colors: {
  custom: {
    50: '#8975ca',
    500: '#4e3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fb2;
$custom-light: #8975ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fb2",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 247.826,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45395,
    "c": 0.17461,
    "h": 282.9
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#4E3FB2
secondary
#BCC489
accent
#D750C6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4E3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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