#4A7DD1#4A7DD1

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

Color values

HEX#4A7DD1
RGBrgb(74, 125, 209)
HSLhsl(217, 59%, 55%)
HSVhsv(217, 65%, 82%)
CMYKcmyk(64.6%, 40.2%, 0%, 18%)
CIE-LABlab(52.65, 9.53, -48.45)
CIE-LCHlch(52.65, 49.38, 281.12°)
OKLaboklab(59.46% -0.0247 -0.138)
OKLCHoklch(59.46% 0.14 259.9)
XYZxyz(21.6622, 20.7245, 63.1679)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DD1 #D19E4A
analogous
#4AC1D1 #4A7DD1 #5A4AD1
triadic
#4A7DD1 #D14A7D #7DD14A
tetradic
#4A7DD1 #D14AC1 #D19E4A #4AD15A
square
#4A7DD1 #D14AC1 #D19E4A #4AD15A
split-complementary
#4A7DD1 #D15A4A #C1D14A
monochromatic
#214580 #2D5FB1 #4A7DD1 #7BA0DD #ACC3EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7DD1#FFFFFF#000000##000000
##4A7DD11.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)
#5784D4
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7dd1;
/* rgb */ color: rgb(74, 125, 209);
/* oklch */ color: oklch(59.5% 0.140 259.9);
Tailwind
colors: {
  custom: {
    50: '#89a2df',
    500: '#4a7dd1',
    950: '#000000',
  },
}
SCSS
$custom: #4a7dd1;
$custom-light: #89a2df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7dd1",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 209
  },
  "hsl": {
    "h": 217.333,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59462,
    "c": 0.14015,
    "h": 259.9
  },
  "luminance": 0.20727
}

Semantic roles & 50–950 ramp

primary
#4A7DD1
secondary
#D8C29F
accent
#A745E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4A7DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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