#4A79CE#4A79CE

#4A79CE is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.4% C 0.141 H 261.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4A79CE
RGBrgb(74, 121, 206)
HSLhsl(219, 57%, 55%)
HSVhsv(219, 64%, 81%)
CMYKcmyk(64.1%, 41.3%, 0%, 19.2%)
CIE-LABlab(51.36, 10.93, -48.79)
CIE-LCHlch(51.36, 50.00, 282.63°)
OKLaboklab(58.42% -0.0213 -0.139)
OKLCHoklch(58.42% 0.141 261.3)
XYZxyz(20.7981, 19.5849, 61.0648)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79CE #CE9F4A
analogous
#4ABBCE #4A79CE #5D4ACE
triadic
#4A79CE #CE4A79 #79CE4A
tetradic
#4A79CE #CE4ABB #CE9F4A #4ACE5D
square
#4A79CE #CE4ABB #CE9F4A #4ACE5D
split-complementary
#4A79CE #CE5D4A #BBCE4A
monochromatic
#22427C #2F5BAC #4A79CE #7A9DDB #AAC0E8

Accessibility & contrast

On white

4.27
#4A79CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4A79CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79CE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79CE#FFFFFF#000000##000000
##4A79CE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D1
Deuteranopia (green-blind)
#3F75CC
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4a79ce;
/* rgb */ color: rgb(74, 121, 206);
/* oklch */ color: oklch(58.4% 0.141 261.3);
Tailwind
colors: {
  custom: {
    50: '#899fdd',
    500: '#4a79ce',
    950: '#000000',
  },
}
SCSS
$custom: #4a79ce;
$custom-light: #899fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79ce",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 218.636,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58416,
    "c": 0.14063,
    "h": 261.3
  },
  "luminance": 0.19587
}

Semantic roles & 50–950 ramp

primary
#4A79CE
secondary
#D6C29E
accent
#AA47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4A79CE

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

Preview Lab → · Contrast checker → · Palette generator →

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