#4A7DD7#4A7DD7

#4A7DD7 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.8% C 0.148 H 260.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4A7DD7
RGBrgb(74, 125, 215)
HSLhsl(218, 64%, 57%)
HSVhsv(218, 66%, 84%)
CMYKcmyk(65.6%, 41.9%, 0%, 15.7%)
CIE-LABlab(52.98, 11.61, -51.31)
CIE-LCHlch(52.98, 52.61, 282.75°)
OKLaboklab(59.83% -0.0234 -0.1464)
OKLCHoklch(59.83% 0.148 260.9)
XYZxyz(22.4190, 21.0272, 67.1540)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DD7 #D7A44A
analogous
#4AC4D7 #4A7DD7 #5E4AD7
triadic
#4A7DD7 #D74A7D #7DD74A
tetradic
#4A7DD7 #D74AC4 #D7A44A #4AD75E
square
#4A7DD7 #D74AC4 #D7A44A #4AD75E
split-complementary
#4A7DD7 #D75E4A #C4D74A
monochromatic
#1E4588 #295EBB #4A7DD7 #7CA1E2 #AEC5ED

Accessibility & contrast

On white

4.03
#4A7DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4A7DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DD7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DD7#FFFFFF#000000##000000
##4A7DD71.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5386DB
Deuteranopia (green-blind)
#3D78D5
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7dd7;
/* rgb */ color: rgb(74, 125, 215);
/* oklch */ color: oklch(59.8% 0.148 260.9);
Tailwind
colors: {
  custom: {
    50: '#8aa2e4',
    500: '#4a7dd7',
    950: '#000000',
  },
}
SCSS
$custom: #4a7dd7;
$custom-light: #8aa2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7dd7",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 215
  },
  "hsl": {
    "h": 218.298,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59828,
    "c": 0.14823,
    "h": 260.9
  },
  "luminance": 0.21029
}

Semantic roles & 50–950 ramp

primary
#4A7DD7
secondary
#DBC6A2
accent
#AB41E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F15
muted
#7E7E84

Preview Lab

Preview with #4A7DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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