#4B79C7#4B79C7

#4B79C7 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.0% C 0.131 H 260.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4B79C7
RGBrgb(75, 121, 199)
HSLhsl(218, 53%, 54%)
HSVhsv(218, 62%, 78%)
CMYKcmyk(62.3%, 39.2%, 0%, 22%)
CIE-LABlab(51.03, 8.70, -45.33)
CIE-LCHlch(51.03, 46.16, 280.87°)
OKLaboklab(58.04% -0.0219 -0.1289)
OKLCHoklch(58.04% 0.131 260.3)
XYZxyz(20.0442, 19.2923, 56.6892)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B79C7 #C7994B
analogous
#4BB7C7 #4B79C7 #5B4BC7
triadic
#4B79C7 #C74B79 #79C74B
tetradic
#4B79C7 #C74BB7 #C7994B #4BC75B
square
#4B79C7 #C74BB7 #C7994B #4BC75B
split-complementary
#4B79C7 #C75B4B #B7C74B
monochromatic
#244274 #325CA2 #4B79C7 #7A9CD6 #A8BEE4

Accessibility & contrast

On white

4.32
#4B79C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4B79C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B79C7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B79C7#FFFFFF#000000##000000
##4B79C71.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CA
Deuteranopia (green-blind)
#4574C5
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4b79c7;
/* rgb */ color: rgb(75, 121, 199);
/* oklch */ color: oklch(58.0% 0.131 260.3);
Tailwind
colors: {
  custom: {
    50: '#889fd8',
    500: '#4b79c7',
    950: '#000000',
  },
}
SCSS
$custom: #4b79c7;
$custom-light: #889fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b79c7",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 199
  },
  "hsl": {
    "h": 217.742,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58043,
    "c": 0.13071,
    "h": 260.3
  },
  "luminance": 0.19294
}

Semantic roles & 50–950 ramp

primary
#4B79C7
secondary
#D1BE9C
accent
#A64CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4B79C7

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

Preview Lab → · Contrast checker → · Palette generator →

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