#4A7AD2#4A7AD2

#4A7AD2 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.9% C 0.145 H 261.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4A7AD2
RGBrgb(74, 122, 210)
HSLhsl(219, 60%, 56%)
HSVhsv(219, 65%, 82%)
CMYKcmyk(64.8%, 41.9%, 0%, 17.6%)
CIE-LABlab(51.87, 11.71, -50.26)
CIE-LCHlch(51.87, 51.60, 283.11°)
OKLaboklab(58.88% -0.0215 -0.1433)
OKLCHoklch(58.88% 0.145 261.5)
XYZxyz(21.4123, 20.0260, 63.6973)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7AD2 #D2A24A
analogous
#4ABED2 #4A7AD2 #5E4AD2
triadic
#4A7AD2 #D24A7A #7AD24A
tetradic
#4A7AD2 #D24ABE #D2A24A #4AD25E
square
#4A7AD2 #D24ABE #D2A24A #4AD25E
split-complementary
#4A7AD2 #D25E4A #BED24A
monochromatic
#204281 #2C5CB2 #4A7AD2 #7B9EDE #ACC2EA

Accessibility & contrast

On white

4.20
#4A7AD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4A7AD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7AD2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7AD2#FFFFFF#000000##000000
##4A7AD21.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5182D5
Deuteranopia (green-blind)
#3C76D0
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a7ad2;
/* rgb */ color: rgb(74, 122, 210);
/* oklch */ color: oklch(58.9% 0.145 261.5);
Tailwind
colors: {
  custom: {
    50: '#8aa0e0',
    500: '#4a7ad2',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ad2;
$custom-light: #8aa0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ad2",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 210
  },
  "hsl": {
    "h": 218.824,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58877,
    "c": 0.14491,
    "h": 261.5
  },
  "luminance": 0.20028
}

Semantic roles & 50–950 ramp

primary
#4A7AD2
secondary
#D8C4A0
accent
#AB44E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4A7AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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