#4E43B8#4E43B8

#4E43B8 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.177 H 281.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4E43B8
RGBrgb(78, 67, 184)
HSLhsl(246, 47%, 49%)
HSVhsv(246, 64%, 72%)
CMYKcmyk(57.6%, 63.6%, 0%, 27.8%)
CIE-LABlab(36.16, 37.94, -60.53)
CIE-LCHlch(36.16, 71.44, 302.08°)
OKLaboklab(46.55% 0.0346 -0.174)
OKLCHoklch(46.55% 0.177 281.2)
XYZxyz(13.7981, 9.0938, 46.3663)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E43B8 #ADB843
analogous
#4373B8 #4E43B8 #8943B8
triadic
#4E43B8 #B84E43 #43B84E
tetradic
#4E43B8 #B84373 #ADB843 #43B889
square
#4E43B8 #B84373 #ADB843 #43B889
split-complementary
#4E43B8 #B88943 #73B843
monochromatic
#28225E #3B338B #4E43B8 #776ECA #A19BDB

Accessibility & contrast

On white

7.45
#4E43B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4E43B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E43B8
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E43B8#FFFFFF#000000##FFFFFF
##4E43B81.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#116077
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e43b8;
/* rgb */ color: rgb(78, 67, 184);
/* oklch */ color: oklch(46.6% 0.177 281.2);
Tailwind
colors: {
  custom: {
    50: '#8a78ce',
    500: '#4e43b8',
    950: '#000000',
  },
}
SCSS
$custom: #4e43b8;
$custom-light: #8a78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e43b8",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 184
  },
  "hsl": {
    "h": 245.641,
    "s": 46.614,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46554,
    "c": 0.17741,
    "h": 281.2
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#4E43B8
secondary
#C2C790
accent
#D652CA
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4E43B8

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

Preview Lab → · Contrast checker → · Palette generator →

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