#4A7DD8#4A7DD8

#4A7DD8 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.9% C 0.150 H 261.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4A7DD8
RGBrgb(74, 125, 216)
HSLhsl(218, 65%, 57%)
HSVhsv(218, 66%, 85%)
CMYKcmyk(65.7%, 42.1%, 0%, 15.3%)
CIE-LABlab(53.04, 11.96, -51.79)
CIE-LCHlch(53.04, 53.15, 283.00°)
OKLaboklab(59.89% -0.0232 -0.1478)
OKLCHoklch(59.89% 0.15 261.1)
XYZxyz(22.5479, 21.0787, 67.8328)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DD8 #D8A54A
analogous
#4AC4D8 #4A7DD8 #5E4AD8
triadic
#4A7DD8 #D84A7D #7DD84A
tetradic
#4A7DD8 #D84AC4 #D8A54A #4AD85E
square
#4A7DD8 #D84AC4 #D8A54A #4AD85E
split-complementary
#4A7DD8 #D85E4A #C4D84A
monochromatic
#1E458A #295EBC #4A7DD8 #7CA1E3 #AFC5EE

Accessibility & contrast

On white

4.03
#4A7DD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4A7DD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DD8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DD8#FFFFFF#000000##000000
##4A7DD81.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5386DC
Deuteranopia (green-blind)
#3C79D6
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7dd8;
/* rgb */ color: rgb(74, 125, 216);
/* oklch */ color: oklch(59.9% 0.150 261.1);
Tailwind
colors: {
  custom: {
    50: '#8aa2e4',
    500: '#4a7dd8',
    950: '#000000',
  },
}
SCSS
$custom: #4a7dd8;
$custom-light: #8aa2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7dd8",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 216
  },
  "hsl": {
    "h": 218.451,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59889,
    "c": 0.14958,
    "h": 261.1
  },
  "luminance": 0.21081
}

Semantic roles & 50–950 ramp

primary
#4A7DD8
secondary
#DCC7A2
accent
#AB40E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4A7DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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