#4E48BB#4E48BB

#4E48BB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.6% C 0.175 H 279.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4E48BB
RGBrgb(78, 72, 187)
HSLhsl(243, 46%, 51%)
HSVhsv(243, 61%, 73%)
CMYKcmyk(58.3%, 61.5%, 0%, 26.7%)
CIE-LABlab(37.56, 35.87, -60.03)
CIE-LCHlch(37.56, 69.93, 300.86°)
OKLaboklab(47.65% 0.0297 -0.1725)
OKLCHoklch(47.65% 0.175 279.8)
XYZxyz(14.4261, 9.8413, 48.1434)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48BB #B5BB48
analogous
#487BBB #4E48BB #8748BB
triadic
#4E48BB #BB4E48 #48BB4E
tetradic
#4E48BB #BB487B #B5BB48 #48BB87
square
#4E48BB #BB487B #B5BB48 #48BB87
split-complementary
#4E48BB #BB8748 #7BBB48
monochromatic
#282564 #3A3690 #4E48BB #7975CC #A4A1DC

Accessibility & contrast

On white

7.07
#4E48BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4E48BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48BB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48BB#FFFFFF#000000##FFFFFF
##4E48BB1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#06647A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e48bb;
/* rgb */ color: rgb(78, 72, 187);
/* oklch */ color: oklch(47.6% 0.175 279.8);
Tailwind
colors: {
  custom: {
    50: '#8a7bd0',
    500: '#4e48bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e48bb;
$custom-light: #8a7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48bb",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 243.13,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47646,
    "c": 0.17505,
    "h": 279.8
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#4E48BB
secondary
#C6C996
accent
#D552CF
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4E48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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