#4E42BE#4E42BE

#4E42BE is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.9% C 0.186 H 280.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#4E42BE
RGBrgb(78, 66, 190)
HSLhsl(246, 49%, 50%)
HSVhsv(246, 65%, 75%)
CMYKcmyk(58.9%, 65.3%, 0%, 25.5%)
CIE-LABlab(36.43, 40.45, -63.63)
CIE-LCHlch(36.43, 75.40, 302.44°)
OKLaboklab(46.9% 0.0349 -0.1831)
OKLCHoklch(46.9% 0.186 280.8)
XYZxyz(14.3814, 9.2328, 49.7295)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42BE #B2BE42
analogous
#4274BE #4E42BE #8C42BE
triadic
#4E42BE #BE4E42 #42BE4E
tetradic
#4E42BE #BE4274 #B2BE42 #42BE8C
square
#4E42BE #BE4274 #B2BE42 #42BE8C
split-complementary
#4E42BE #BE8C42 #74BE42
monochromatic
#292263 #3B3291 #4E42BE #7970CE #A39DDD

Accessibility & contrast

On white

7.38
#4E42BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4E42BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E42BE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42BE#FFFFFF#000000##FFFFFF
##4E42BE1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#00617A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e42be;
/* rgb */ color: rgb(78, 66, 190);
/* oklch */ color: oklch(46.9% 0.186 280.8);
Tailwind
colors: {
  custom: {
    50: '#8b77d3',
    500: '#4e42be',
    950: '#000000',
  },
}
SCSS
$custom: #4e42be;
$custom-light: #8b77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42be",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 245.806,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46899,
    "c": 0.1864,
    "h": 280.8
  },
  "luminance": 0.09234
}

Semantic roles & 50–950 ramp

primary
#4E42BE
secondary
#C4CA92
accent
#D84FCB
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E42BE

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

Preview Lab → · Contrast checker → · Palette generator →

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