#4A79BD#4A79BD

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

Color values

HEX#4A79BD
RGBrgb(74, 121, 189)
HSLhsl(215, 47%, 52%)
HSVhsv(215, 61%, 74%)
CMYKcmyk(60.8%, 36%, 0%, 25.9%)
CIE-LABlab(50.46, 5.10, -40.51)
CIE-LCHlch(50.46, 40.83, 277.18°)
OKLaboklab(57.42% -0.0251 -0.1148)
OKLCHoklch(57.42% 0.117 257.6)
XYZxyz(18.8435, 18.8030, 50.7706)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79BD #BD8E4A
analogous
#4AB3BD #4A79BD #554ABD
triadic
#4A79BD #BD4A79 #79BD4A
tetradic
#4A79BD #BD4AB3 #BD8E4A #4ABD55
square
#4A79BD #BD4AB3 #BD8E4A #4ABD55
split-complementary
#4A79BD #BD554A #B3BD4A
monochromatic
#264067 #365C94 #4A79BD #779ACD #A4BBDE

Accessibility & contrast

On white

4.41
#4A79BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4A79BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79BD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79BD#FFFFFF#000000##000000
##4A79BD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a79bd;
/* rgb */ color: rgb(74, 121, 189);
/* oklch */ color: oklch(57.4% 0.117 257.6);
Tailwind
colors: {
  custom: {
    50: '#869fd1',
    500: '#4a79bd',
    950: '#000000',
  },
}
SCSS
$custom: #4a79bd;
$custom-light: #869fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79bd",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 189
  },
  "hsl": {
    "h": 215.478,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57415,
    "c": 0.11749,
    "h": 257.6
  },
  "luminance": 0.18805
}

Semantic roles & 50–950 ramp

primary
#4A79BD
secondary
#CBB698
accent
#A052D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4A79BD

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

Preview Lab → · Contrast checker → · Palette generator →

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