#4E73B2#4E73B2

#4E73B2 is a mid, moderate blue. Relative luminance 0.171; OKLCH L 55.7% C 0.107 H 260.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E73B2
RGBrgb(78, 115, 178)
HSLhsl(218, 39%, 50%)
HSVhsv(218, 56%, 70%)
CMYKcmyk(56.2%, 35.4%, 0%, 30.2%)
CIE-LABlab(48.38, 5.90, -37.42)
CIE-LCHlch(48.38, 37.88, 278.96°)
OKLaboklab(55.67% -0.0176 -0.1058)
OKLCHoklch(55.67% 0.107 260.5)
XYZxyz(17.3057, 17.0941, 44.4984)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E73B2 #B28D4E
analogous
#4EA5B2 #4E73B2 #5B4EB2
triadic
#4E73B2 #B24E73 #73B24E
tetradic
#4E73B2 #B24EA5 #B28D4E #4EB25B
square
#4E73B2 #B24EA5 #B28D4E #4EB25B
split-complementary
#4E73B2 #B25B4E #A5B24E
monochromatic
#293C5D #3B5788 #4E73B2 #7995C5 #A3B6D7

Accessibility & contrast

On white

4.75
#4E73B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4E73B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E73B2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E73B2#FFFFFF#000000##FFFFFF
##4E73B21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5978B5
Deuteranopia (green-blind)
#4D6FB1
Tritanopia (blue-blind)
#0A818A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e73b2;
/* rgb */ color: rgb(78, 115, 178);
/* oklch */ color: oklch(55.7% 0.107 260.5);
Tailwind
colors: {
  custom: {
    50: '#879bc9',
    500: '#4e73b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e73b2;
$custom-light: #879bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e73b2",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 178
  },
  "hsl": {
    "h": 217.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55669,
    "c": 0.10722,
    "h": 260.5
  },
  "luminance": 0.17096
}

Semantic roles & 50–950 ramp

primary
#4E73B2
secondary
#C4B498
accent
#A359CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E73B2

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

Preview Lab → · Contrast checker → · Palette generator →

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