#4E48BC#4E48BC

#4E48BC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.7% C 0.176 H 279.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4E48BC
RGBrgb(78, 72, 188)
HSLhsl(243, 46%, 51%)
HSVhsv(243, 62%, 74%)
CMYKcmyk(58.5%, 61.7%, 0%, 26.3%)
CIE-LABlab(37.63, 36.19, -60.49)
CIE-LCHlch(37.63, 70.49, 300.89°)
OKLaboklab(47.73% 0.0296 -0.1739)
OKLCHoklch(47.73% 0.176 279.7)
XYZxyz(14.5335, 9.8843, 48.7092)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48BC #B6BC48
analogous
#487CBC #4E48BC #8848BC
triadic
#4E48BC #BC4E48 #48BC4E
tetradic
#4E48BC #BC487C #B6BC48 #48BC88
square
#4E48BC #BC487C #B6BC48 #48BC88
split-complementary
#4E48BC #BC8848 #7CBC48
monochromatic
#282565 #3A3592 #4E48BC #7975CC #A5A2DD

Accessibility & contrast

On white

7.05
#4E48BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4E48BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48BC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48BC#FFFFFF#000000##FFFFFF
##4E48BC1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#03647B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e48bc;
/* rgb */ color: rgb(78, 72, 188);
/* oklch */ color: oklch(47.7% 0.176 279.7);
Tailwind
colors: {
  custom: {
    50: '#8a7bd1',
    500: '#4e48bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e48bc;
$custom-light: #8a7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48bc",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 243.103,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47728,
    "c": 0.17637,
    "h": 279.7
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#4E48BC
secondary
#C7CA96
accent
#D652CF
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4E48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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