#4A7AD5#4A7AD5

#4A7AD5 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.1% C 0.149 H 261.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4A7AD5
RGBrgb(74, 122, 213)
HSLhsl(219, 62%, 56%)
HSVhsv(219, 65%, 84%)
CMYKcmyk(65.3%, 42.7%, 0%, 16.5%)
CIE-LABlab(52.04, 12.75, -51.69)
CIE-LCHlch(52.04, 53.24, 283.86°)
OKLaboklab(59.06% -0.0209 -0.1475)
OKLCHoklch(59.06% 0.149 261.9)
XYZxyz(21.7896, 20.1769, 65.6841)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7AD5 #D5A54A
analogous
#4ABFD5 #4A7AD5 #604AD5
triadic
#4A7AD5 #D54A7A #7AD54A
tetradic
#4A7AD5 #D54ABF #D5A54A #4AD560
square
#4A7AD5 #D54ABF #D5A54A #4AD560
split-complementary
#4A7AD5 #D5604A #BFD54A
monochromatic
#1F4286 #2B5BB7 #4A7AD5 #7C9FE1 #ADC3EC

Accessibility & contrast

On white

4.17
#4A7AD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4A7AD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7AD5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7AD5#FFFFFF#000000##000000
##4A7AD51.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F83D9
Deuteranopia (green-blind)
#3976D3
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a7ad5;
/* rgb */ color: rgb(74, 122, 213);
/* oklch */ color: oklch(59.1% 0.149 261.9);
Tailwind
colors: {
  custom: {
    50: '#8a9fe2',
    500: '#4a7ad5',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ad5;
$custom-light: #8a9fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ad5",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 213
  },
  "hsl": {
    "h": 219.281,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59063,
    "c": 0.14897,
    "h": 261.9
  },
  "luminance": 0.20179
}

Semantic roles & 50–950 ramp

primary
#4A7AD5
secondary
#DAC6A1
accent
#AD42E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4A7AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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