#4E79BB#4E79BB

#4E79BB is a mid, moderate blue. Relative luminance 0.189; OKLCH L 57.5% C 0.113 H 258.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4E79BB
RGBrgb(78, 121, 187)
HSLhsl(216, 44%, 52%)
HSVhsv(216, 58%, 73%)
CMYKcmyk(58.3%, 35.3%, 0%, 26.7%)
CIE-LABlab(50.55, 5.23, -39.20)
CIE-LCHlch(50.55, 39.55, 277.60°)
OKLaboklab(57.51% -0.0222 -0.1109)
OKLCHoklch(57.51% 0.113 258.7)
XYZxyz(18.9458, 18.8807, 49.6500)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79BB #BB904E
analogous
#4EB0BB #4E79BB #5A4EBB
triadic
#4E79BB #BB4E79 #79BB4E
tetradic
#4E79BB #BB4EB0 #BB904E #4EBB5A
square
#4E79BB #BB4EB0 #BB904E #4EBB5A
split-complementary
#4E79BB #BB5A4E #B0BB4E
monochromatic
#284167 #395C93 #4E79BB #7A9ACC #A6BCDD

Accessibility & contrast

On white

4.40
#4E79BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4E79BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79BB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79BB#FFFFFF#000000##000000
##4E79BB1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#5074BA
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e79bb;
/* rgb */ color: rgb(78, 121, 187);
/* oklch */ color: oklch(57.5% 0.113 258.7);
Tailwind
colors: {
  custom: {
    50: '#889fd0',
    500: '#4e79bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e79bb;
$custom-light: #889fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79bb",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 216.33,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57505,
    "c": 0.11309,
    "h": 258.7
  },
  "luminance": 0.18882
}

Semantic roles & 50–950 ramp

primary
#4E79BB
secondary
#CAB79B
accent
#A154D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4E79BB

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

Preview Lab → · Contrast checker → · Palette generator →

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