#4E79C2#4E79C2

#4E79C2 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 57.9% C 0.123 H 260.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4E79C2
RGBrgb(78, 121, 194)
HSLhsl(218, 49%, 53%)
HSVhsv(218, 60%, 76%)
CMYKcmyk(59.8%, 37.6%, 0%, 23.9%)
CIE-LABlab(50.91, 7.58, -42.65)
CIE-LCHlch(50.91, 43.32, 280.08°)
OKLaboklab(57.9% -0.0204 -0.121)
OKLCHoklch(57.9% 0.123 260.4)
XYZxyz(19.7135, 19.1878, 53.6932)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79C2 #C2974E
analogous
#4EB3C2 #4E79C2 #5D4EC2
triadic
#4E79C2 #C24E79 #79C24E
tetradic
#4E79C2 #C24EB3 #C2974E #4EC25D
square
#4E79C2 #C24EB3 #C2974E #4EC25D
split-complementary
#4E79C2 #C25D4E #B3C24E
monochromatic
#26416F #365C9D #4E79C2 #7C9BD2 #A9BEE1

Accessibility & contrast

On white

4.34
#4E79C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4E79C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79C2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79C2#FFFFFF#000000##000000
##4E79C21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7FC5
Deuteranopia (green-blind)
#4B74C0
Tritanopia (blue-blind)
#008994
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e79c2;
/* rgb */ color: rgb(78, 121, 194);
/* oklch */ color: oklch(57.9% 0.123 260.4);
Tailwind
colors: {
  custom: {
    50: '#899fd5',
    500: '#4e79c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e79c2;
$custom-light: #899fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79c2",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 194
  },
  "hsl": {
    "h": 217.759,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57902,
    "c": 0.12269,
    "h": 260.4
  },
  "luminance": 0.19189
}

Semantic roles & 50–950 ramp

primary
#4E79C2
secondary
#CFBC9D
accent
#A650D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E79C2

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

Preview Lab → · Contrast checker → · Palette generator →

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