#4E79C1#4E79C1

#4E79C1 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.8% C 0.121 H 260.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4E79C1
RGBrgb(78, 121, 193)
HSLhsl(218, 48%, 53%)
HSVhsv(218, 60%, 76%)
CMYKcmyk(59.6%, 37.3%, 0%, 24.3%)
CIE-LABlab(50.85, 7.24, -42.16)
CIE-LCHlch(50.85, 42.78, 279.75°)
OKLaboklab(57.84% -0.0207 -0.1195)
OKLCHoklch(57.84% 0.121 260.2)
XYZxyz(19.6015, 19.1430, 53.1037)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79C1 #C1964E
analogous
#4EB2C1 #4E79C1 #5C4EC1
triadic
#4E79C1 #C14E79 #79C14E
tetradic
#4E79C1 #C14EB2 #C1964E #4EC15C
square
#4E79C1 #C14EB2 #C1964E #4EC15C
split-complementary
#4E79C1 #C15C4E #B2C14E
monochromatic
#27416E #365C9B #4E79C1 #7B9BD1 #A9BEE1

Accessibility & contrast

On white

4.35
#4E79C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4E79C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79C1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79C1#FFFFFF#000000##000000
##4E79C11.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e79c1;
/* rgb */ color: rgb(78, 121, 193);
/* oklch */ color: oklch(57.8% 0.121 260.2);
Tailwind
colors: {
  custom: {
    50: '#899fd4',
    500: '#4e79c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e79c1;
$custom-light: #899fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79c1",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 193
  },
  "hsl": {
    "h": 217.565,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57844,
    "c": 0.12132,
    "h": 260.2
  },
  "luminance": 0.19145
}

Semantic roles & 50–950 ramp

primary
#4E79C1
secondary
#CEBC9D
accent
#A550D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E79C1

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

Preview Lab → · Contrast checker → · Palette generator →

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