#4B79CC#4B79CC

#4B79CC is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.3% C 0.138 H 261.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4B79CC
RGBrgb(75, 121, 204)
HSLhsl(219, 56%, 55%)
HSVhsv(219, 63%, 80%)
CMYKcmyk(63.2%, 40.7%, 0%, 20%)
CIE-LABlab(51.30, 10.42, -47.75)
CIE-LCHlch(51.30, 48.87, 282.31°)
OKLaboklab(58.34% -0.0208 -0.1359)
OKLCHoklch(58.34% 0.138 261.3)
XYZxyz(20.6343, 19.5283, 59.7970)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B79CC #CC9E4B
analogous
#4BB9CC #4B79CC #5E4BCC
triadic
#4B79CC #CC4B79 #79CC4B
tetradic
#4B79CC #CC4BB9 #CC9E4B #4BCC5E
square
#4B79CC #CC4BB9 #CC9E4B #4BCC5E
split-complementary
#4B79CC #CC5E4B #B9CC4B
monochromatic
#23427A #305BAA #4B79CC #7B9DDA #AAC0E7

Accessibility & contrast

On white

4.28
#4B79CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4B79CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B79CC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B79CC#FFFFFF#000000##000000
##4B79CC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b79cc;
/* rgb */ color: rgb(75, 121, 204);
/* oklch */ color: oklch(58.3% 0.138 261.3);
Tailwind
colors: {
  custom: {
    50: '#899fdc',
    500: '#4b79cc',
    950: '#000000',
  },
}
SCSS
$custom: #4b79cc;
$custom-light: #899fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b79cc",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 218.605,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58343,
    "c": 0.13754,
    "h": 261.3
  },
  "luminance": 0.1953
}

Semantic roles & 50–950 ramp

primary
#4B79CC
secondary
#D5C19E
accent
#A949DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4B79CC

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

Preview Lab → · Contrast checker → · Palette generator →

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