#4E79B7#4E79B7

#4E79B7 is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.3% C 0.108 H 257.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4E79B7
RGBrgb(78, 121, 183)
HSLhsl(215, 42%, 51%)
HSVhsv(215, 57%, 72%)
CMYKcmyk(57.4%, 33.9%, 0%, 28.2%)
CIE-LABlab(50.35, 3.90, -37.21)
CIE-LCHlch(50.35, 37.42, 275.99°)
OKLaboklab(57.29% -0.0232 -0.1051)
OKLCHoklch(57.29% 0.108 257.5)
XYZxyz(18.5235, 18.7118, 47.4262)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79B7 #B78C4E
analogous
#4EADB7 #4E79B7 #574EB7
triadic
#4E79B7 #B74E79 #79B74E
tetradic
#4E79B7 #B74EAD #B78C4E #4EB757
square
#4E79B7 #B74EAD #B78C4E #4EB757
split-complementary
#4E79B7 #B7574E #ADB74E
monochromatic
#284063 #3A5C8E #4E79B7 #7A9AC9 #A5BBDA

Accessibility & contrast

On white

4.43
#4E79B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4E79B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79B7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79B7#FFFFFF#000000##000000
##4E79B71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#607DBA
Deuteranopia (green-blind)
#5273B6
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e79b7;
/* rgb */ color: rgb(78, 121, 183);
/* oklch */ color: oklch(57.3% 0.108 257.5);
Tailwind
colors: {
  custom: {
    50: '#879fcd',
    500: '#4e79b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e79b7;
$custom-light: #879fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79b7",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 183
  },
  "hsl": {
    "h": 215.429,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57285,
    "c": 0.10763,
    "h": 257.5
  },
  "luminance": 0.18713
}

Semantic roles & 50–950 ramp

primary
#4E79B7
secondary
#C8B599
accent
#9F56D2
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E79B7

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

Preview Lab → · Contrast checker → · Palette generator →

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