#4A7DD5#4A7DD5

#4A7DD5 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.7% C 0.146 H 260.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4A7DD5
RGBrgb(74, 125, 213)
HSLhsl(218, 62%, 56%)
HSVhsv(218, 65%, 84%)
CMYKcmyk(65.3%, 41.3%, 0%, 16.5%)
CIE-LABlab(52.87, 10.91, -50.36)
CIE-LCHlch(52.87, 51.53, 282.23°)
OKLaboklab(59.71% -0.0238 -0.1436)
OKLCHoklch(59.71% 0.146 260.6)
XYZxyz(22.1636, 20.9250, 65.8088)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DD5 #D5A24A
analogous
#4AC2D5 #4A7DD5 #5D4AD5
triadic
#4A7DD5 #D54A7D #7DD54A
tetradic
#4A7DD5 #D54AC2 #D5A24A #4AD55D
square
#4A7DD5 #D54AC2 #D5A24A #4AD55D
split-complementary
#4A7DD5 #D55D4A #C2D54A
monochromatic
#1F4586 #2B5EB7 #4A7DD5 #7CA1E1 #ADC4EC

Accessibility & contrast

On white

4.05
#4A7DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4A7DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DD5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DD5#FFFFFF#000000##000000
##4A7DD51.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5585D8
Deuteranopia (green-blind)
#3F78D3
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7dd5;
/* rgb */ color: rgb(74, 125, 213);
/* oklch */ color: oklch(59.7% 0.146 260.6);
Tailwind
colors: {
  custom: {
    50: '#8aa2e2',
    500: '#4a7dd5',
    950: '#000000',
  },
}
SCSS
$custom: #4a7dd5;
$custom-light: #8aa2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7dd5",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 213
  },
  "hsl": {
    "h": 217.986,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59705,
    "c": 0.14554,
    "h": 260.6
  },
  "luminance": 0.20927
}

Semantic roles & 50–950 ramp

primary
#4A7DD5
secondary
#DAC5A1
accent
#AA42E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4A7DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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