#4E79CC#4E79CC

#4E79CC is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.5% C 0.136 H 262.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4E79CC
RGBrgb(78, 121, 204)
HSLhsl(220, 55%, 55%)
HSVhsv(220, 62%, 80%)
CMYKcmyk(61.8%, 40.7%, 0%, 20%)
CIE-LABlab(51.44, 10.97, -47.51)
CIE-LCHlch(51.44, 48.77, 283.00°)
OKLaboklab(58.49% -0.0182 -0.1352)
OKLCHoklch(58.49% 0.136 262.3)
XYZxyz(20.8745, 19.6522, 59.8082)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79CC #CCA14E
analogous
#4EB8CC #4E79CC #624ECC
triadic
#4E79CC #CC4E79 #79CC4E
tetradic
#4E79CC #CC4EB8 #CCA14E #4ECC62
square
#4E79CC #CC4EB8 #CCA14E #4ECC62
split-complementary
#4E79CC #CC624E #B8CC4E
monochromatic
#24427C #315BAB #4E79CC #7E9DDA #ADC1E7

Accessibility & contrast

On white

4.26
#4E79CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4E79CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79CC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79CC#FFFFFF#000000##000000
##4E79CC1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481CF
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e79cc;
/* rgb */ color: rgb(78, 121, 204);
/* oklch */ color: oklch(58.5% 0.136 262.3);
Tailwind
colors: {
  custom: {
    50: '#8a9fdc',
    500: '#4e79cc',
    950: '#000000',
  },
}
SCSS
$custom: #4e79cc;
$custom-light: #8a9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79cc",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 219.524,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58491,
    "c": 0.13644,
    "h": 262.3
  },
  "luminance": 0.19654
}

Semantic roles & 50–950 ramp

primary
#4E79CC
secondary
#D5C3A1
accent
#AC49DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E79CC

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

Preview Lab → · Contrast checker → · Palette generator →

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