#4A79BF#4A79BF

#4A79BF is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.5% C 0.120 H 258.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4A79BF
RGBrgb(74, 121, 191)
HSLhsl(216, 48%, 52%)
HSVhsv(216, 61%, 75%)
CMYKcmyk(61.3%, 36.6%, 0%, 25.1%)
CIE-LABlab(50.56, 5.78, -41.50)
CIE-LCHlch(50.56, 41.90, 277.93°)
OKLaboklab(57.53% -0.0246 -0.1177)
OKLCHoklch(57.53% 0.12 258.2)
XYZxyz(19.0621, 18.8905, 51.9218)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79BF #BF904A
analogous
#4AB4BF #4A79BF #564ABF
triadic
#4A79BF #BF4A79 #79BF4A
tetradic
#4A79BF #BF4AB4 #BF904A #4ABF56
square
#4A79BF #BF4AB4 #BF904A #4ABF56
split-complementary
#4A79BF #BF564A #B4BF4A
monochromatic
#254169 #355C97 #4A79BF #779ACF #A4BCDF

Accessibility & contrast

On white

4.39
#4A79BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4A79BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79BF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79BF#FFFFFF#000000##000000
##4A79BF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC2
Deuteranopia (green-blind)
#4B73BE
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a79bf;
/* rgb */ color: rgb(74, 121, 191);
/* oklch */ color: oklch(57.5% 0.120 258.2);
Tailwind
colors: {
  custom: {
    50: '#879fd2',
    500: '#4a79bf',
    950: '#000000',
  },
}
SCSS
$custom: #4a79bf;
$custom-light: #879fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79bf",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 215.897,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57529,
    "c": 0.12021,
    "h": 258.2
  },
  "luminance": 0.18892
}

Semantic roles & 50–950 ramp

primary
#4A79BF
secondary
#CCB799
accent
#A150D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4A79BF

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

Preview Lab → · Contrast checker → · Palette generator →

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