#4A79DD#4A79DD

#4A79DD is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.161 H 263.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4A79DD
RGBrgb(74, 121, 221)
HSLhsl(221, 68%, 58%)
HSVhsv(221, 67%, 87%)
CMYKcmyk(66.5%, 45.2%, 0%, 13.3%)
CIE-LABlab(52.23, 16.16, -55.90)
CIE-LCHlch(52.23, 58.19, 286.13°)
OKLaboklab(59.36% -0.0186 -0.1599)
OKLCHoklch(59.36% 0.161 263.4)
XYZxyz(22.7080, 20.3488, 71.1236)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A79DD #DDAE4A
analogous
#4AC3DD #4A79DD #644ADD
triadic
#4A79DD #DD4A79 #79DD4A
tetradic
#4A79DD #DD4AC3 #DDAE4A #4ADD64
square
#4A79DD #DD4AC3 #DDAE4A #4ADD64
split-complementary
#4A79DD #DD644A #C3DD4A
monochromatic
#1B4191 #2558C5 #4A79DD #7E9FE7 #B1C5F0

Accessibility & contrast

On white

4.14
#4A79DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4A79DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A79DD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A79DD#FFFFFF#000000##000000
##4A79DD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4784E1
Deuteranopia (green-blind)
#2C76DB
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a79dd;
/* rgb */ color: rgb(74, 121, 221);
/* oklch */ color: oklch(59.4% 0.161 263.4);
Tailwind
colors: {
  custom: {
    50: '#8b9fe8',
    500: '#4a79dd',
    950: '#000000',
  },
}
SCSS
$custom: #4a79dd;
$custom-light: #8b9fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a79dd",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 220.816,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59362,
    "c": 0.16096,
    "h": 263.4
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#4A79DD
secondary
#DFCCA4
accent
#B33DEB
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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