#4A7FD6#4A7FD6

#4A7FD6 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.2% C 0.145 H 259.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4A7FD6
RGBrgb(74, 127, 214)
HSLhsl(217, 63%, 56%)
HSVhsv(217, 65%, 84%)
CMYKcmyk(65.4%, 40.7%, 0%, 16.1%)
CIE-LABlab(53.48, 10.04, -49.95)
CIE-LCHlch(53.48, 50.95, 281.36°)
OKLaboklab(60.2% -0.0256 -0.1423)
OKLCHoklch(60.2% 0.145 259.8)
XYZxyz(22.5467, 21.4874, 66.5646)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FD6 #D6A14A
analogous
#4AC5D6 #4A7FD6 #5B4AD6
triadic
#4A7FD6 #D64A7F #7FD64A
tetradic
#4A7FD6 #D64AC5 #D6A14A #4AD65B
square
#4A7FD6 #D64AC5 #D6A14A #4AD65B
split-complementary
#4A7FD6 #D65B4A #C5D64A
monochromatic
#1F4687 #2A60B9 #4A7FD6 #7CA2E1 #AEC6ED

Accessibility & contrast

On white

3.96
#4A7FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4A7FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FD6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FD6#FFFFFF#000000##000000
##4A7FD61.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5787D9
Deuteranopia (green-blind)
#427AD4
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7fd6;
/* rgb */ color: rgb(74, 127, 214);
/* oklch */ color: oklch(60.2% 0.145 259.8);
Tailwind
colors: {
  custom: {
    50: '#8aa3e3',
    500: '#4a7fd6',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fd6;
$custom-light: #8aa3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fd6",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 214
  },
  "hsl": {
    "h": 217.286,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60196,
    "c": 0.14462,
    "h": 259.8
  },
  "luminance": 0.2149
}

Semantic roles & 50–950 ramp

primary
#4A7FD6
secondary
#DBC5A1
accent
#A842E6
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4A7FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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