#4A79CF#4A79CF

#4A79CF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.5% C 0.142 H 261.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4A79CF
RGBrgb(74, 121, 207)
HSLhsl(219, 58%, 55%)
HSVhsv(219, 64%, 81%)
CMYKcmyk(64.3%, 41.5%, 0%, 18.8%)
CIE-LABlab(51.42, 11.28, -49.27)
CIE-LCHlch(51.42, 50.54, 282.90°)
OKLaboklab(58.48% -0.0211 -0.1404)
OKLCHoklch(58.48% 0.142 261.5)
XYZxyz(20.9199, 19.6336, 61.7066)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79CF #CFA04A
analogous
#4ABCCF #4A79CF #5D4ACF
triadic
#4A79CF #CF4A79 #79CF4A
tetradic
#4A79CF #CF4ABC #CFA04A #4ACF5D
square
#4A79CF #CF4ABC #CFA04A #4ACF5D
split-complementary
#4A79CF #CF5D4A #BCCF4A
monochromatic
#21427D #2E5BAE #4A79CF #7A9DDC #ABC1E9

Accessibility & contrast

On white

4.26
#4A79CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4A79CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79CF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79CF#FFFFFF#000000##000000
##4A79CF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#3E75CD
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a79cf;
/* rgb */ color: rgb(74, 121, 207);
/* oklch */ color: oklch(58.5% 0.142 261.5);
Tailwind
colors: {
  custom: {
    50: '#899fde',
    500: '#4a79cf',
    950: '#000000',
  },
}
SCSS
$custom: #4a79cf;
$custom-light: #899fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79cf",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 218.797,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.14198,
    "h": 261.5
  },
  "luminance": 0.19636
}

Semantic roles & 50–950 ramp

primary
#4A79CF
secondary
#D6C39F
accent
#AB46E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4A79CF

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

Preview Lab → · Contrast checker → · Palette generator →

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