#4A79CD#4A79CD

#4A79CD is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.4% C 0.139 H 261.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4A79CD
RGBrgb(74, 121, 205)
HSLhsl(218, 57%, 55%)
HSVhsv(218, 64%, 80%)
CMYKcmyk(63.9%, 41%, 0%, 19.6%)
CIE-LABlab(51.31, 10.59, -48.31)
CIE-LCHlch(51.31, 49.45, 282.36°)
OKLaboklab(58.36% -0.0215 -0.1376)
OKLCHoklch(58.36% 0.139 261.1)
XYZxyz(20.6770, 19.5364, 60.4270)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79CD #CD9E4A
analogous
#4ABBCD #4A79CD #5C4ACD
triadic
#4A79CD #CD4A79 #79CD4A
tetradic
#4A79CD #CD4ABB #CD9E4A #4ACD5C
square
#4A79CD #CD4ABB #CD9E4A #4ACD5C
split-complementary
#4A79CD #CD5C4A #BBCD4A
monochromatic
#22427B #2F5BAB #4A79CD #7A9DDA #AAC0E7

Accessibility & contrast

On white

4.28
#4A79CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4A79CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79CD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79CD#FFFFFF#000000##000000
##4A79CD1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#4075CB
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4a79cd;
/* rgb */ color: rgb(74, 121, 205);
/* oklch */ color: oklch(58.4% 0.139 261.1);
Tailwind
colors: {
  custom: {
    50: '#899fdd',
    500: '#4a79cd',
    950: '#000000',
  },
}
SCSS
$custom: #4a79cd;
$custom-light: #899fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79cd",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 218.473,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58355,
    "c": 0.13927,
    "h": 261.1
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

primary
#4A79CD
secondary
#D5C19E
accent
#A948E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4A79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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