#4E79B4#4E79B4

#4E79B4 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 57.1% C 0.104 H 256.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4E79B4
RGBrgb(78, 121, 180)
HSLhsl(215, 40%, 51%)
HSVhsv(215, 57%, 71%)
CMYKcmyk(56.7%, 32.8%, 0%, 29.4%)
CIE-LABlab(50.20, 2.92, -35.71)
CIE-LCHlch(50.20, 35.83, 274.67°)
OKLaboklab(57.12% -0.024 -0.1007)
OKLCHoklch(57.12% 0.104 256.6)
XYZxyz(18.2146, 18.5882, 45.7992)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79B4 #B4894E
analogous
#4EACB4 #4E79B4 #564EB4
triadic
#4E79B4 #B44E79 #79B44E
tetradic
#4E79B4 #B44EAC #B4894E #4EB456
square
#4E79B4 #B44EAC #B4894E #4EB456
split-complementary
#4E79B4 #B4564E #ACB44E
monochromatic
#283F5F #3B5C8A #4E79B4 #799AC6 #A4BAD8

Accessibility & contrast

On white

4.45
#4E79B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4E79B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79B4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79B4#FFFFFF#000000##000000
##4E79B41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB6
Deuteranopia (green-blind)
#5473B3
Tritanopia (blue-blind)
#00868E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e79b4;
/* rgb */ color: rgb(78, 121, 180);
/* oklch */ color: oklch(57.1% 0.104 256.6);
Tailwind
colors: {
  custom: {
    50: '#879fca',
    500: '#4e79b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e79b4;
$custom-light: #879fca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79b4",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 180
  },
  "hsl": {
    "h": 214.706,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57123,
    "c": 0.10356,
    "h": 256.6
  },
  "luminance": 0.1859
}

Semantic roles & 50–950 ramp

primary
#4E79B4
secondary
#C6B298
accent
#9D57D0
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E79B4

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

Preview Lab → · Contrast checker → · Palette generator →

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