#4E79BD#4E79BD

#4E79BD is a mid, moderate blue. Relative luminance 0.190; OKLCH L 57.6% C 0.116 H 259.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4E79BD
RGBrgb(78, 121, 189)
HSLhsl(217, 46%, 52%)
HSVhsv(217, 59%, 74%)
CMYKcmyk(58.7%, 36%, 0%, 25.9%)
CIE-LABlab(50.65, 5.90, -40.19)
CIE-LCHlch(50.65, 40.62, 278.35°)
OKLaboklab(57.62% -0.0217 -0.1138)
OKLCHoklch(57.62% 0.116 259.2)
XYZxyz(19.1614, 18.9669, 50.7855)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79BD #BD924E
analogous
#4EB0BD #4E79BD #5B4EBD
triadic
#4E79BD #BD4E79 #79BD4E
tetradic
#4E79BD #BD4EB0 #BD924E #4EBD5B
square
#4E79BD #BD4EB0 #BD924E #4EBD5B
split-complementary
#4E79BD #BD5B4E #B0BD4E
monochromatic
#274169 #385C96 #4E79BD #7B9BCE #A7BCDE

Accessibility & contrast

On white

4.38
#4E79BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4E79BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79BD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79BD#FFFFFF#000000##000000
##4E79BD1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EC0
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e79bd;
/* rgb */ color: rgb(78, 121, 189);
/* oklch */ color: oklch(57.6% 0.116 259.2);
Tailwind
colors: {
  custom: {
    50: '#889fd1',
    500: '#4e79bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e79bd;
$custom-light: #889fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79bd",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 189
  },
  "hsl": {
    "h": 216.757,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57617,
    "c": 0.11582,
    "h": 259.2
  },
  "luminance": 0.18969
}

Semantic roles & 50–950 ramp

primary
#4E79BD
secondary
#CCB99B
accent
#A352D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4E79BD

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

Preview Lab → · Contrast checker → · Palette generator →

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