#4E79B9#4E79B9

#4E79B9 is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.4% C 0.110 H 258.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4E79B9
RGBrgb(78, 121, 185)
HSLhsl(216, 43%, 52%)
HSVhsv(216, 58%, 73%)
CMYKcmyk(57.8%, 34.6%, 0%, 27.5%)
CIE-LABlab(50.45, 4.57, -38.21)
CIE-LCHlch(50.45, 38.48, 276.82°)
OKLaboklab(57.4% -0.0227 -0.108)
OKLCHoklch(57.4% 0.11 258.1)
XYZxyz(18.7332, 18.7957, 48.5303)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79B9 #B98E4E
analogous
#4EAFB9 #4E79B9 #594EB9
triadic
#4E79B9 #B94E79 #79B94E
tetradic
#4E79B9 #B94EAF #B98E4E #4EB959
square
#4E79B9 #B94EAF #B98E4E #4EB959
split-complementary
#4E79B9 #B9594E #AFB94E
monochromatic
#284065 #395C91 #4E79B9 #7A9ACA #A6BBDC

Accessibility & contrast

On white

4.41
#4E79B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4E79B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79B9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79B9#FFFFFF#000000##000000
##4E79B91.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7EBC
Deuteranopia (green-blind)
#5173B8
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e79b9;
/* rgb */ color: rgb(78, 121, 185);
/* oklch */ color: oklch(57.4% 0.110 258.1);
Tailwind
colors: {
  custom: {
    50: '#889fce',
    500: '#4e79b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e79b9;
$custom-light: #889fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79b9",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 185
  },
  "hsl": {
    "h": 215.888,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57395,
    "c": 0.11036,
    "h": 258.1
  },
  "luminance": 0.18797
}

Semantic roles & 50–950 ramp

primary
#4E79B9
secondary
#C9B69A
accent
#A055D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E79B9

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

Preview Lab → · Contrast checker → · Palette generator →

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