#4E46B8#4E46B8

#4E46B8 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.174 H 280.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4E46B8
RGBrgb(78, 70, 184)
HSLhsl(244, 45%, 50%)
HSVhsv(244, 62%, 72%)
CMYKcmyk(57.6%, 62%, 0%, 27.8%)
CIE-LABlab(36.85, 36.12, -59.40)
CIE-LCHlch(36.85, 69.52, 301.30°)
OKLaboklab(47.06% 0.0317 -0.1707)
OKLCHoklch(47.06% 0.174 280.5)
XYZxyz(13.9811, 9.4598, 46.4273)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46B8 #B0B846
analogous
#4677B8 #4E46B8 #8746B8
triadic
#4E46B8 #B84E46 #46B84E
tetradic
#4E46B8 #B84677 #B0B846 #46B887
square
#4E46B8 #B84677 #B0B846 #46B887
split-complementary
#4E46B8 #B88746 #77B846
monochromatic
#28245F #3B358C #4E46B8 #7872C9 #A29EDA

Accessibility & contrast

On white

7.26
#4E46B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4E46B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E46B8
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46B8#FFFFFF#000000##FFFFFF
##4E46B81.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#106278
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e46b8;
/* rgb */ color: rgb(78, 70, 184);
/* oklch */ color: oklch(47.1% 0.174 280.5);
Tailwind
colors: {
  custom: {
    50: '#8a7ace',
    500: '#4e46b8',
    950: '#000000',
  },
}
SCSS
$custom: #4e46b8;
$custom-light: #8a7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46b8",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 184
  },
  "hsl": {
    "h": 244.211,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47059,
    "c": 0.17361,
    "h": 280.5
  },
  "luminance": 0.09461
}

Semantic roles & 50–950 ramp

primary
#4E46B8
secondary
#C3C793
accent
#D553CC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4E46B8

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

Preview Lab → · Contrast checker → · Palette generator →

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