#4E46BC#4E46BC

#4E46BC is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.4% C 0.179 H 280.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4E46BC
RGBrgb(78, 70, 188)
HSLhsl(244, 47%, 51%)
HSVhsv(244, 63%, 74%)
CMYKcmyk(58.5%, 62.8%, 0%, 26.3%)
CIE-LABlab(37.17, 37.41, -61.24)
CIE-LCHlch(37.17, 71.77, 301.42°)
OKLaboklab(47.39% 0.0315 -0.1761)
OKLCHoklch(47.39% 0.179 280.1)
XYZxyz(14.4063, 9.6299, 48.6668)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46BC #B4BC46
analogous
#4679BC #4E46BC #8946BC
triadic
#4E46BC #BC4E46 #46BC4E
tetradic
#4E46BC #BC4679 #B4BC46 #46BC89
square
#4E46BC #BC4679 #B4BC46 #46BC89
split-complementary
#4E46BC #BC8946 #79BC46
monochromatic
#282464 #3B3490 #4E46BC #7973CC #A4A0DD

Accessibility & contrast

On white

7.18
#4E46BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4E46BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E46BC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46BC#FFFFFF#000000##FFFFFF
##4E46BC1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#03637A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e46bc;
/* rgb */ color: rgb(78, 70, 188);
/* oklch */ color: oklch(47.4% 0.179 280.1);
Tailwind
colors: {
  custom: {
    50: '#8a7ad1',
    500: '#4e46bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e46bc;
$custom-light: #8a7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46bc",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 244.068,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47388,
    "c": 0.17889,
    "h": 280.1
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#4E46BC
secondary
#C6C995
accent
#D651CD
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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