#4A7CD6#4A7CD6

#4A7CD6 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.6% C 0.148 H 261.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4A7CD6
RGBrgb(74, 124, 214)
HSLhsl(219, 63%, 56%)
HSVhsv(219, 65%, 84%)
CMYKcmyk(65.4%, 42.1%, 0%, 16.1%)
CIE-LABlab(52.65, 11.87, -51.28)
CIE-LCHlch(52.65, 52.64, 283.04°)
OKLaboklab(59.55% -0.0227 -0.1463)
OKLCHoklch(59.55% 0.148 261.2)
XYZxyz(22.1650, 20.7240, 66.4373)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CD6 #D6A44A
analogous
#4AC2D6 #4A7CD6 #5E4AD6
triadic
#4A7CD6 #D64A7C #7CD64A
tetradic
#4A7CD6 #D64AC2 #D6A44A #4AD65E
square
#4A7CD6 #D64AC2 #D6A44A #4AD65E
split-complementary
#4A7CD6 #D65E4A #C2D64A
monochromatic
#1F4487 #2A5DB9 #4A7CD6 #7CA0E1 #AEC4ED

Accessibility & contrast

On white

4.08
#4A7CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4A7CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CD6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CD6#FFFFFF#000000##000000
##4A7CD61.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5285D9
Deuteranopia (green-blind)
#3C78D4
Tritanopia (blue-blind)
#00919E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7cd6;
/* rgb */ color: rgb(74, 124, 214);
/* oklch */ color: oklch(59.6% 0.148 261.2);
Tailwind
colors: {
  custom: {
    50: '#8aa1e3',
    500: '#4a7cd6',
    950: '#000000',
  },
}
SCSS
$custom: #4a7cd6;
$custom-light: #8aa1e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7cd6",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 218.571,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59552,
    "c": 0.14803,
    "h": 261.2
  },
  "luminance": 0.20726
}

Semantic roles & 50–950 ramp

primary
#4A7CD6
secondary
#DBC6A1
accent
#AB42E6
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4A7CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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