#4E79AB#4E79AB

#4E79AB is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.7% C 0.091 H 253.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4E79AB
RGBrgb(78, 121, 171)
HSLhsl(212, 37%, 49%)
HSVhsv(212, 54%, 67%)
CMYKcmyk(54.4%, 29.2%, 0%, 32.9%)
CIE-LABlab(49.78, -0.02, -31.16)
CIE-LCHlch(49.78, 31.16, 269.97°)
OKLaboklab(56.65% -0.0267 -0.0875)
OKLCHoklch(56.65% 0.092 253.1)
XYZxyz(17.3274, 18.2333, 41.1265)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79AB #AB804E
analogous
#4EA8AB #4E79AB #524EAB
triadic
#4E79AB #AB4E79 #79AB4E
tetradic
#4E79AB #AB4EA8 #AB804E #4EAB52
square
#4E79AB #AB4EA8 #AB804E #4EAB52
split-complementary
#4E79AB #AB524E #A8AB4E
monochromatic
#283E57 #3B5B81 #4E79AB #7698C0 #A0B8D4

Accessibility & contrast

On white

4.52
#4E79AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4E79AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79AB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79AB#FFFFFF#000000##000000
##4E79AB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#657BAD
Deuteranopia (green-blind)
#5972AA
Tritanopia (blue-blind)
#16848B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e79ab;
/* rgb */ color: rgb(78, 121, 171);
/* oklch */ color: oklch(56.7% 0.091 253.1);
Tailwind
colors: {
  custom: {
    50: '#869fc4',
    500: '#4e79ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e79ab;
$custom-light: #869fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79ab",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 171
  },
  "hsl": {
    "h": 212.258,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56652,
    "c": 0.0915,
    "h": 253.1
  },
  "luminance": 0.18235
}

Semantic roles & 50–950 ramp

primary
#4E79AB
secondary
#C1AC94
accent
#985ACD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #4E79AB

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

Preview Lab → · Contrast checker → · Palette generator →

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