#4E79B1#4E79B1

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

Color values

HEX#4E79B1
RGBrgb(78, 121, 177)
HSLhsl(214, 39%, 50%)
HSVhsv(214, 56%, 69%)
CMYKcmyk(55.9%, 31.6%, 0%, 30.6%)
CIE-LABlab(50.06, 1.93, -34.20)
CIE-LCHlch(50.06, 34.26, 273.23°)
OKLaboklab(56.96% -0.0249 -0.0963)
OKLCHoklch(56.96% 0.1 255.5)
XYZxyz(17.9123, 18.4673, 44.2071)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79B1 #B1864E
analogous
#4EABB1 #4E79B1 #544EB1
triadic
#4E79B1 #B14E79 #79B14E
tetradic
#4E79B1 #B14EAB #B1864E #4EB154
square
#4E79B1 #B14EAB #B1864E #4EB154
split-complementary
#4E79B1 #B1544E #ABB14E
monochromatic
#293F5C #3B5C87 #4E79B1 #7899C4 #A3B9D6

Accessibility & contrast

On white

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

On black

4.69
#4E79B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79B1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79B1#FFFFFF#000000##000000
##4E79B11.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#627CB3
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#08868D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e79b1;
/* rgb */ color: rgb(78, 121, 177);
/* oklch */ color: oklch(57.0% 0.100 255.5);
Tailwind
colors: {
  custom: {
    50: '#879fc8',
    500: '#4e79b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e79b1;
$custom-light: #879fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79b1",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 177
  },
  "hsl": {
    "h": 213.939,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.0995,
    "h": 255.5
  },
  "luminance": 0.18469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E79B1

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

Preview Lab → · Contrast checker → · Palette generator →

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