#4E79BC#4E79BC

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

Color values

HEX#4E79BC
RGBrgb(78, 121, 188)
HSLhsl(217, 45%, 52%)
HSVhsv(217, 59%, 74%)
CMYKcmyk(58.5%, 35.6%, 0%, 26.3%)
CIE-LABlab(50.60, 5.57, -39.70)
CIE-LCHlch(50.60, 40.09, 277.98°)
OKLaboklab(57.56% -0.0219 -0.1123)
OKLCHoklch(57.56% 0.114 259)
XYZxyz(19.0532, 18.9237, 50.2158)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79BC #BC914E
analogous
#4EB0BC #4E79BC #5A4EBC
triadic
#4E79BC #BC4E79 #79BC4E
tetradic
#4E79BC #BC4EB0 #BC914E #4EBC5A
square
#4E79BC #BC4EB0 #BC914E #4EBC5A
split-complementary
#4E79BC #BC5A4E #B0BC4E
monochromatic
#274168 #385C95 #4E79BC #7A9BCD #A7BCDE

Accessibility & contrast

On white

4.39
#4E79BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E79BC#FFFFFF#000000##000000
##4E79BC1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e79bc;
/* rgb */ color: rgb(78, 121, 188);
/* oklch */ color: oklch(57.6% 0.114 259.0);
Tailwind
colors: {
  custom: {
    50: '#889fd0',
    500: '#4e79bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e79bc;
$custom-light: #889fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79bc",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 216.545,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57561,
    "c": 0.11446,
    "h": 259
  },
  "luminance": 0.18925
}

Semantic roles & 50–950 ramp

primary
#4E79BC
secondary
#CBB89B
accent
#A253D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4E79BC

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

Preview Lab → · Contrast checker → · Palette generator →

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