#4E42BF#4E42BF

#4E42BF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.0% C 0.188 H 280.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#4E42BF
RGBrgb(78, 66, 191)
HSLhsl(246, 49%, 50%)
HSVhsv(246, 65%, 75%)
CMYKcmyk(59.2%, 65.4%, 0%, 25.1%)
CIE-LABlab(36.51, 40.77, -64.08)
CIE-LCHlch(36.51, 75.95, 302.46°)
OKLaboklab(46.99% 0.0348 -0.1844)
OKLCHoklch(46.99% 0.188 280.7)
XYZxyz(14.4911, 9.2767, 50.3071)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42BF #B3BF42
analogous
#4274BF #4E42BF #8C42BF
triadic
#4E42BF #BF4E42 #42BF4E
tetradic
#4E42BF #BF4274 #B3BF42 #42BF8C
square
#4E42BF #BF4274 #B3BF42 #42BF8C
split-complementary
#4E42BF #BF8C42 #74BF42
monochromatic
#282265 #3B3292 #4E42BF #7970CE #A49DDE

Accessibility & contrast

On white

7.35
#4E42BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4E42BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E42BF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42BF#FFFFFF#000000##FFFFFF
##4E42BF1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e42bf;
/* rgb */ color: rgb(78, 66, 191);
/* oklch */ color: oklch(47.0% 0.188 280.7);
Tailwind
colors: {
  custom: {
    50: '#8b77d3',
    500: '#4e42bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e42bf;
$custom-light: #8b77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42bf",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 245.76,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46985,
    "c": 0.18768,
    "h": 280.7
  },
  "luminance": 0.09278
}

Semantic roles & 50–950 ramp

primary
#4E42BF
secondary
#C5CA93
accent
#D94FCC
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E42BF

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

Preview Lab → · Contrast checker → · Palette generator →

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