#4E79B3#4E79B3

#4E79B3 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 57.1% C 0.102 H 256.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4E79B3
RGBrgb(78, 121, 179)
HSLhsl(214, 40%, 50%)
HSVhsv(214, 56%, 70%)
CMYKcmyk(56.4%, 32.4%, 0%, 29.8%)
CIE-LABlab(50.15, 2.59, -35.21)
CIE-LCHlch(50.15, 35.30, 274.20°)
OKLaboklab(57.07% -0.0243 -0.0993)
OKLCHoklch(57.07% 0.102 256.2)
XYZxyz(18.1131, 18.5476, 45.2646)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79B3 #B3884E
analogous
#4EACB3 #4E79B3 #554EB3
triadic
#4E79B3 #B34E79 #79B34E
tetradic
#4E79B3 #B34EAC #B3884E #4EB355
square
#4E79B3 #B34EAC #B3884E #4EB355
split-complementary
#4E79B3 #B3554E #ACB34E
monochromatic
#283F5E #3B5C89 #4E79B3 #7999C5 #A4BAD8

Accessibility & contrast

On white

4.46
#4E79B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4E79B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79B3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79B3#FFFFFF#000000##000000
##4E79B31.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB5
Deuteranopia (green-blind)
#5573B2
Tritanopia (blue-blind)
#01868E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e79b3;
/* rgb */ color: rgb(78, 121, 179);
/* oklch */ color: oklch(57.1% 0.102 256.2);
Tailwind
colors: {
  custom: {
    50: '#879fca',
    500: '#4e79b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e79b3;
$custom-light: #879fca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79b3",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 179
  },
  "hsl": {
    "h": 214.455,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57069,
    "c": 0.10221,
    "h": 256.2
  },
  "luminance": 0.18549
}

Semantic roles & 50–950 ramp

primary
#4E79B3
secondary
#C5B298
accent
#9D58D0
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E79B3

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

Preview Lab → · Contrast checker → · Palette generator →

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