#4E46A9#4E46A9

#4E46A9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.153 H 282.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4E46A9
RGBrgb(78, 70, 169)
HSLhsl(245, 41%, 47%)
HSVhsv(245, 59%, 66%)
CMYKcmyk(53.8%, 58.6%, 0%, 33.7%)
CIE-LABlab(35.72, 31.28, -52.35)
CIE-LCHlch(35.72, 60.98, 300.85°)
OKLaboklab(45.87% 0.0323 -0.1499)
OKLCHoklch(45.87% 0.153 282.1)
XYZxyz(12.4913, 8.8639, 38.5811)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46A9 #A1A946
analogous
#4670A9 #4E46A9 #7F46A9
triadic
#4E46A9 #A94E46 #46A94E
tetradic
#4E46A9 #A94670 #A1A946 #46A97F
square
#4E46A9 #A94670 #A1A946 #46A97F
split-complementary
#4E46A9 #A97F46 #70A946
monochromatic
#262252 #3A347E #4E46A9 #726BC2 #9B96D3

Accessibility & contrast

On white

7.57
#4E46A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E46A9
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46A9#FFFFFF#000000##FFFFFF
##4E46A91.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#275D70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e46a9;
/* rgb */ color: rgb(78, 70, 169);
/* oklch */ color: oklch(45.9% 0.153 282.1);
Tailwind
colors: {
  custom: {
    50: '#877ac3',
    500: '#4e46a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e46a9;
$custom-light: #877ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46a9",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 169
  },
  "hsl": {
    "h": 244.848,
    "s": 41.423,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45868,
    "c": 0.15338,
    "h": 282.1
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#4E46A9
secondary
#BBBF8B
accent
#D157C7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E46A9

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

Preview Lab → · Contrast checker → · Palette generator →

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