#4A7FD4#4A7FD4

#4A7FD4 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.1% C 0.142 H 259.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4A7FD4
RGBrgb(74, 127, 212)
HSLhsl(217, 62%, 56%)
HSVhsv(217, 65%, 83%)
CMYKcmyk(65.1%, 40.1%, 0%, 16.9%)
CIE-LABlab(53.37, 9.35, -49.00)
CIE-LCHlch(53.37, 49.88, 280.80°)
OKLaboklab(60.08% -0.026 -0.1395)
OKLCHoklch(60.08% 0.142 259.4)
XYZxyz(22.2928, 21.3859, 65.2276)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FD4 #D49F4A
analogous
#4AC4D4 #4A7FD4 #5A4AD4
triadic
#4A7FD4 #D44A7F #7FD44A
tetradic
#4A7FD4 #D44AC4 #D49F4A #4AD45A
square
#4A7FD4 #D44AC4 #D49F4A #4AD45A
split-complementary
#4A7FD4 #D45A4A #C4D44A
monochromatic
#1F4684 #2B60B6 #4A7FD4 #7BA2E0 #ADC5EB

Accessibility & contrast

On white

3.98
#4A7FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4A7FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FD4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FD4#FFFFFF#000000##000000
##4A7FD41.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5986D7
Deuteranopia (green-blind)
#447AD2
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7fd4;
/* rgb */ color: rgb(74, 127, 212);
/* oklch */ color: oklch(60.1% 0.142 259.4);
Tailwind
colors: {
  custom: {
    50: '#8aa3e2',
    500: '#4a7fd4',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fd4;
$custom-light: #8aa3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fd4",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 216.957,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60075,
    "c": 0.14195,
    "h": 259.4
  },
  "luminance": 0.21388
}

Semantic roles & 50–950 ramp

primary
#4A7FD4
secondary
#D9C4A0
accent
#A743E5
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4A7FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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