#4A79DF#4A79DF

#4A79DF is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.5% C 0.164 H 263.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4A79DF
RGBrgb(74, 121, 223)
HSLhsl(221, 70%, 58%)
HSVhsv(221, 67%, 87%)
CMYKcmyk(66.8%, 45.7%, 0%, 12.5%)
CIE-LABlab(52.35, 16.86, -56.83)
CIE-LCHlch(52.35, 59.28, 286.53°)
OKLaboklab(59.49% -0.0183 -0.1626)
OKLCHoklch(59.49% 0.164 263.6)
XYZxyz(22.9760, 20.4560, 72.5353)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79DF #DFB04A
analogous
#4AC3DF #4A79DF #654ADF
triadic
#4A79DF #DF4A79 #79DF4A
tetradic
#4A79DF #DF4AC3 #DFB04A #4ADF65
square
#4A79DF #DF4AC3 #DFB04A #4ADF65
split-complementary
#4A79DF #DF654A #C3DF4A
monochromatic
#1A4194 #2357C8 #4A79DF #7EA0E8 #B2C6F1

Accessibility & contrast

On white

4.12
#4A79DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4A79DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79DF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79DF#FFFFFF#000000##000000
##4A79DF1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#2876DD
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a79df;
/* rgb */ color: rgb(74, 121, 223);
/* oklch */ color: oklch(59.5% 0.164 263.6);
Tailwind
colors: {
  custom: {
    50: '#8c9fe9',
    500: '#4a79df',
    950: '#000000',
  },
}
SCSS
$custom: #4a79df;
$custom-light: #8c9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79df",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 221.074,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59493,
    "c": 0.16366,
    "h": 263.6
  },
  "luminance": 0.20458
}

Semantic roles & 50–950 ramp

primary
#4A79DF
secondary
#E0CDA5
accent
#B53BED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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