#4E41B8#4E41B8

#4E41B8 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.2% C 0.180 H 281.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4E41B8
RGBrgb(78, 65, 184)
HSLhsl(247, 48%, 49%)
HSVhsv(247, 65%, 72%)
CMYKcmyk(57.6%, 64.7%, 0%, 27.8%)
CIE-LABlab(35.71, 39.14, -61.26)
CIE-LCHlch(35.71, 72.70, 302.57°)
OKLaboklab(46.23% 0.0364 -0.1762)
OKLCHoklch(46.23% 0.18 281.7)
XYZxyz(13.6812, 8.8601, 46.3273)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41B8 #ABB841
analogous
#4170B8 #4E41B8 #8A41B8
triadic
#4E41B8 #B84E41 #41B84E
tetradic
#4E41B8 #B84170 #ABB841 #41B88A
square
#4E41B8 #B84170 #ABB841 #41B88A
split-complementary
#4E41B8 #B88A41 #70B841
monochromatic
#28215E #3B318B #4E41B8 #766BCB #A099DB

Accessibility & contrast

On white

7.58
#4E41B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4E41B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41B8
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41B8#FFFFFF#000000##FFFFFF
##4E41B81.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0050B6
Tritanopia (blue-blind)
#125F76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e41b8;
/* rgb */ color: rgb(78, 65, 184);
/* oklch */ color: oklch(46.2% 0.180 281.7);
Tailwind
colors: {
  custom: {
    50: '#8a76ce',
    500: '#4e41b8',
    950: '#000000',
  },
}
SCSS
$custom: #4e41b8;
$custom-light: #8a76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41b8",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 246.555,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46226,
    "c": 0.1799,
    "h": 281.7
  },
  "luminance": 0.08861
}

Semantic roles & 50–950 ramp

primary
#4E41B8
secondary
#C1C78E
accent
#D750C9
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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