#4A7CD5#4A7CD5

#4A7CD5 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.5% C 0.147 H 261.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4A7CD5
RGBrgb(74, 124, 213)
HSLhsl(218, 62%, 56%)
HSVhsv(218, 65%, 84%)
CMYKcmyk(65.3%, 41.8%, 0%, 16.5%)
CIE-LABlab(52.59, 11.52, -50.80)
CIE-LCHlch(52.59, 52.09, 282.78°)
OKLaboklab(59.49% -0.0229 -0.1449)
OKLCHoklch(59.49% 0.147 261)
XYZxyz(22.0377, 20.6731, 65.7668)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CD5 #D5A34A
analogous
#4AC2D5 #4A7CD5 #5E4AD5
triadic
#4A7CD5 #D54A7C #7CD54A
tetradic
#4A7CD5 #D54AC2 #D5A34A #4AD55E
square
#4A7CD5 #D54AC2 #D5A34A #4AD55E
split-complementary
#4A7CD5 #D55E4A #C2D54A
monochromatic
#1F4486 #2B5DB7 #4A7CD5 #7CA0E1 #ADC4EC

Accessibility & contrast

On white

4.09
#4A7CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4A7CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CD5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CD5#FFFFFF#000000##000000
##4A7CD51.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5384D8
Deuteranopia (green-blind)
#3D78D3
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7cd5;
/* rgb */ color: rgb(74, 124, 213);
/* oklch */ color: oklch(59.5% 0.147 261.0);
Tailwind
colors: {
  custom: {
    50: '#8aa1e2',
    500: '#4a7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #4a7cd5;
$custom-light: #8aa1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7cd5",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 218.417,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5949,
    "c": 0.14667,
    "h": 261
  },
  "luminance": 0.20675
}

Semantic roles & 50–950 ramp

primary
#4A7CD5
secondary
#DAC5A1
accent
#AB42E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4A7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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