#4E79BA#4E79BA

#4E79BA is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.5% C 0.112 H 258.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4E79BA
RGBrgb(78, 121, 186)
HSLhsl(216, 44%, 52%)
HSVhsv(216, 58%, 73%)
CMYKcmyk(58.1%, 34.9%, 0%, 27.1%)
CIE-LABlab(50.50, 4.90, -38.71)
CIE-LCHlch(50.50, 39.02, 277.22°)
OKLaboklab(57.45% -0.0224 -0.1094)
OKLCHoklch(57.45% 0.112 258.4)
XYZxyz(18.8391, 18.8380, 49.0882)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79BA #BA8F4E
analogous
#4EAFBA #4E79BA #594EBA
triadic
#4E79BA #BA4E79 #79BA4E
tetradic
#4E79BA #BA4EAF #BA8F4E #4EBA59
square
#4E79BA #BA4EAF #BA8F4E #4EBA59
split-complementary
#4E79BA #BA594E #AFBA4E
monochromatic
#284066 #395C92 #4E79BA #7A9ACB #A6BCDC

Accessibility & contrast

On white

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

On black

4.77
#4E79BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79BA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79BA#FFFFFF#000000##000000
##4E79BA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e79ba;
/* rgb */ color: rgb(78, 121, 186);
/* oklch */ color: oklch(57.5% 0.112 258.4);
Tailwind
colors: {
  custom: {
    50: '#889fcf',
    500: '#4e79ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e79ba;
$custom-light: #889fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79ba",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 186
  },
  "hsl": {
    "h": 216.111,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5745,
    "c": 0.11172,
    "h": 258.4
  },
  "luminance": 0.1884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E79BA

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

Preview Lab → · Contrast checker → · Palette generator →

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