#4A7CD4#4A7CD4

#4A7CD4 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.4% C 0.145 H 260.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4A7CD4
RGBrgb(74, 124, 212)
HSLhsl(218, 62%, 56%)
HSVhsv(218, 65%, 83%)
CMYKcmyk(65.1%, 41.5%, 0%, 16.9%)
CIE-LABlab(52.53, 11.18, -50.33)
CIE-LCHlch(52.53, 51.55, 282.52°)
OKLaboklab(59.43% -0.0231 -0.1435)
OKLCHoklch(59.43% 0.145 260.9)
XYZxyz(21.9111, 20.6225, 65.1004)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CD4 #D4A24A
analogous
#4AC1D4 #4A7CD4 #5D4AD4
triadic
#4A7CD4 #D44A7C #7CD44A
tetradic
#4A7CD4 #D44AC1 #D4A24A #4AD45D
square
#4A7CD4 #D44AC1 #D4A24A #4AD45D
split-complementary
#4A7CD4 #D45D4A #C1D44A
monochromatic
#1F4484 #2B5DB6 #4A7CD4 #7BA0E0 #ADC4EB

Accessibility & contrast

On white

4.10
#4A7CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4A7CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CD4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CD4#FFFFFF#000000##000000
##4A7CD41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5484D7
Deuteranopia (green-blind)
#3E77D2
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7cd4;
/* rgb */ color: rgb(74, 124, 212);
/* oklch */ color: oklch(59.4% 0.145 260.9);
Tailwind
colors: {
  custom: {
    50: '#8aa1e2',
    500: '#4a7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #4a7cd4;
$custom-light: #8aa1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7cd4",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 218.261,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59429,
    "c": 0.14533,
    "h": 260.9
  },
  "luminance": 0.20625
}

Semantic roles & 50–950 ramp

primary
#4A7CD4
secondary
#D9C5A0
accent
#AA43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4A7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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