#4E79B5#4E79B5

#4E79B5 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 57.2% C 0.105 H 256.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4E79B5
RGBrgb(78, 121, 181)
HSLhsl(215, 41%, 51%)
HSVhsv(215, 57%, 71%)
CMYKcmyk(56.9%, 33.1%, 0%, 29%)
CIE-LABlab(50.25, 3.24, -36.21)
CIE-LCHlch(50.25, 36.36, 275.12°)
OKLaboklab(57.18% -0.0238 -0.1022)
OKLCHoklch(57.18% 0.105 256.9)
XYZxyz(18.3168, 18.6291, 46.3376)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79B5 #B58A4E
analogous
#4EADB5 #4E79B5 #564EB5
triadic
#4E79B5 #B54E79 #79B54E
tetradic
#4E79B5 #B54EAD #B58A4E #4EB556
square
#4E79B5 #B54EAD #B58A4E #4EB556
split-complementary
#4E79B5 #B5564E #ADB54E
monochromatic
#284060 #3A5C8B #4E79B5 #799AC7 #A4BAD9

Accessibility & contrast

On white

4.44
#4E79B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4E79B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79B5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79B5#FFFFFF#000000##000000
##4E79B51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#607DB8
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#00868F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e79b5;
/* rgb */ color: rgb(78, 121, 181);
/* oklch */ color: oklch(57.2% 0.105 256.9);
Tailwind
colors: {
  custom: {
    50: '#879fcb',
    500: '#4e79b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e79b5;
$custom-light: #879fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79b5",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 181
  },
  "hsl": {
    "h": 214.951,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57177,
    "c": 0.10491,
    "h": 256.9
  },
  "luminance": 0.18631
}

Semantic roles & 50–950 ramp

primary
#4E79B5
secondary
#C6B399
accent
#9E57D1
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E79B5

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

Preview Lab → · Contrast checker → · Palette generator →

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