#4A79CC#4A79CC

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

Color values

HEX#4A79CC
RGBrgb(74, 121, 204)
HSLhsl(218, 56%, 55%)
HSVhsv(218, 64%, 80%)
CMYKcmyk(63.7%, 40.7%, 0%, 20%)
CIE-LABlab(51.25, 10.24, -47.83)
CIE-LCHlch(51.25, 48.91, 282.09°)
OKLaboklab(58.29% -0.0217 -0.1362)
OKLCHoklch(58.29% 0.138 261)
XYZxyz(20.5567, 19.4883, 59.7933)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79CC #CC9D4A
analogous
#4ABACC #4A79CC #5C4ACC
triadic
#4A79CC #CC4A79 #79CC4A
tetradic
#4A79CC #CC4ABA #CC9D4A #4ACC5C
square
#4A79CC #CC4ABA #CC9D4A #4ACC5C
split-complementary
#4A79CC #CC5C4A #BACC4A
monochromatic
#224279 #305CA9 #4A79CC #7A9CD9 #A9C0E7

Accessibility & contrast

On white

4.29
#4A79CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4A79CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79CC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79CC#FFFFFF#000000##000000
##4A79CC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a79cc;
/* rgb */ color: rgb(74, 121, 204);
/* oklch */ color: oklch(58.3% 0.138 261.0);
Tailwind
colors: {
  custom: {
    50: '#899fdc',
    500: '#4a79cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a79cc;
$custom-light: #899fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79cc",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 218.308,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58294,
    "c": 0.13791,
    "h": 261
  },
  "luminance": 0.1949
}

Semantic roles & 50–950 ramp

primary
#4A79CC
secondary
#D4C19D
accent
#A948DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4A79CC

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

Preview Lab → · Contrast checker → · Palette generator →

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