#4E42BD#4E42BD

#4E42BD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.8% C 0.185 H 280.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#4E42BD
RGBrgb(78, 66, 189)
HSLhsl(246, 48%, 50%)
HSVhsv(246, 65%, 74%)
CMYKcmyk(58.7%, 65.1%, 0%, 25.9%)
CIE-LABlab(36.35, 40.13, -63.17)
CIE-LCHlch(36.35, 74.84, 302.42°)
OKLaboklab(46.81% 0.035 -0.1818)
OKLCHoklch(46.81% 0.185 280.9)
XYZxyz(14.2725, 9.1893, 49.1559)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42BD #B1BD42
analogous
#4273BD #4E42BD #8C42BD
triadic
#4E42BD #BD4E42 #42BD4E
tetradic
#4E42BD #BD4273 #B1BD42 #42BD8C
square
#4E42BD #BD4273 #B1BD42 #42BD8C
split-complementary
#4E42BD #BD8C42 #73BD42
monochromatic
#292262 #3B3290 #4E42BD #786FCD #A39DDD

Accessibility & contrast

On white

7.40
#4E42BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4E42BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E42BD
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42BD#FFFFFF#000000##FFFFFF
##4E42BD1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#026179
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e42bd;
/* rgb */ color: rgb(78, 66, 189);
/* oklch */ color: oklch(46.8% 0.185 280.9);
Tailwind
colors: {
  custom: {
    50: '#8b77d2',
    500: '#4e42bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e42bd;
$custom-light: #8b77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42bd",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 245.854,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.46813,
    "c": 0.18512,
    "h": 280.9
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

primary
#4E42BD
secondary
#C4C992
accent
#D850CB
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E42BD

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

Preview Lab → · Contrast checker → · Palette generator →

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