#4A79BC#4A79BC

#4A79BC is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.4% C 0.116 H 257.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4A79BC
RGBrgb(74, 121, 188)
HSLhsl(215, 46%, 51%)
HSVhsv(215, 61%, 74%)
CMYKcmyk(60.6%, 35.6%, 0%, 26.3%)
CIE-LABlab(50.41, 4.76, -40.02)
CIE-LCHlch(50.41, 40.30, 276.79°)
OKLaboklab(57.36% -0.0254 -0.1133)
OKLCHoklch(57.36% 0.116 257.4)
XYZxyz(18.7353, 18.7598, 50.2009)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79BC #BC8D4A
analogous
#4AB2BC #4A79BC #544ABC
triadic
#4A79BC #BC4A79 #79BC4A
tetradic
#4A79BC #BC4AB2 #BC8D4A #4ABC54
square
#4A79BC #BC4AB2 #BC8D4A #4ABC54
split-complementary
#4A79BC #BC544A #B2BC4A
monochromatic
#264066 #365C93 #4A79BC #779ACD #A3BBDD

Accessibility & contrast

On white

4.42
#4A79BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4A79BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79BC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79BC#FFFFFF#000000##000000
##4A79BC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#4D73BB
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a79bc;
/* rgb */ color: rgb(74, 121, 188);
/* oklch */ color: oklch(57.4% 0.116 257.4);
Tailwind
colors: {
  custom: {
    50: '#869fd0',
    500: '#4a79bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a79bc;
$custom-light: #869fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79bc",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 215.263,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57359,
    "c": 0.11614,
    "h": 257.4
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

primary
#4A79BC
secondary
#CAB598
accent
#9F52D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4A79BC

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

Preview Lab → · Contrast checker → · Palette generator →

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