#4A7DD9#4A7DD9

#4A7DD9 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.0% C 0.151 H 261.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4A7DD9
RGBrgb(74, 125, 217)
HSLhsl(219, 65%, 57%)
HSVhsv(219, 66%, 85%)
CMYKcmyk(65.9%, 42.4%, 0%, 14.9%)
CIE-LABlab(53.09, 12.30, -52.26)
CIE-LCHlch(53.09, 53.69, 283.25°)
OKLaboklab(59.95% -0.0231 -0.1491)
OKLCHoklch(59.95% 0.151 261.2)
XYZxyz(22.6776, 21.1306, 68.5157)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DD9 #D9A64A
analogous
#4AC5D9 #4A7DD9 #5E4AD9
triadic
#4A7DD9 #D94A7D #7DD94A
tetradic
#4A7DD9 #D94AC5 #D9A64A #4AD95E
square
#4A7DD9 #D94AC5 #D9A64A #4AD95E
split-complementary
#4A7DD9 #D95E4A #C5D94A
monochromatic
#1D458B #285DBE #4A7DD9 #7DA1E4 #AFC6EE

Accessibility & contrast

On white

4.02
#4A7DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4A7DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DD9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DD9#FFFFFF#000000##000000
##4A7DD91.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5286DD
Deuteranopia (green-blind)
#3B79D7
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7dd9;
/* rgb */ color: rgb(74, 125, 217);
/* oklch */ color: oklch(60.0% 0.151 261.2);
Tailwind
colors: {
  custom: {
    50: '#8ba2e5',
    500: '#4a7dd9',
    950: '#000000',
  },
}
SCSS
$custom: #4a7dd9;
$custom-light: #8ba2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7dd9",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 217
  },
  "hsl": {
    "h": 218.601,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59951,
    "c": 0.15092,
    "h": 261.2
  },
  "luminance": 0.21133
}

Semantic roles & 50–950 ramp

primary
#4A7DD9
secondary
#DCC8A2
accent
#AC40E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4A7DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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