#4E79B2#4E79B2

#4E79B2 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 57.0% C 0.101 H 255.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4E79B2
RGBrgb(78, 121, 178)
HSLhsl(214, 39%, 50%)
HSVhsv(214, 56%, 70%)
CMYKcmyk(56.2%, 32%, 0%, 30.2%)
CIE-LABlab(50.11, 2.26, -34.71)
CIE-LCHlch(50.11, 34.78, 273.72°)
OKLaboklab(57.02% -0.0246 -0.0978)
OKLCHoklch(57.02% 0.101 255.9)
XYZxyz(18.0123, 18.5073, 44.7339)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79B2 #B2874E
analogous
#4EABB2 #4E79B2 #554EB2
triadic
#4E79B2 #B24E79 #79B24E
tetradic
#4E79B2 #B24EAB #B2874E #4EB255
square
#4E79B2 #B24EAB #B2874E #4EB255
split-complementary
#4E79B2 #B2554E #ABB24E
monochromatic
#293F5D #3B5C88 #4E79B2 #7999C5 #A3BAD7

Accessibility & contrast

On white

4.47
#4E79B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4E79B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79B2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79B2#FFFFFF#000000##000000
##4E79B21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#627CB4
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#05868D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e79b2;
/* rgb */ color: rgb(78, 121, 178);
/* oklch */ color: oklch(57.0% 0.101 255.9);
Tailwind
colors: {
  custom: {
    50: '#879fc9',
    500: '#4e79b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e79b2;
$custom-light: #879fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79b2",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 214.2,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57016,
    "c": 0.10086,
    "h": 255.9
  },
  "luminance": 0.18509
}

Semantic roles & 50–950 ramp

primary
#4E79B2
secondary
#C4B198
accent
#9C59CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E79B2

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

Preview Lab → · Contrast checker → · Palette generator →

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