#4A7ED3#4A7ED3

#4A7ED3 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.8% C 0.142 H 259.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4A7ED3
RGBrgb(74, 126, 211)
HSLhsl(217, 61%, 56%)
HSVhsv(217, 65%, 83%)
CMYKcmyk(64.9%, 40.3%, 0%, 17.3%)
CIE-LABlab(53.04, 9.61, -48.96)
CIE-LCHlch(53.04, 49.90, 281.10°)
OKLaboklab(59.8% -0.0252 -0.1395)
OKLCHoklch(59.8% 0.142 259.7)
XYZxyz(22.0386, 21.0786, 64.5225)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7ED3 #D39F4A
analogous
#4AC3D3 #4A7ED3 #5A4AD3
triadic
#4A7ED3 #D34A7E #7ED34A
tetradic
#4A7ED3 #D34AC3 #D39F4A #4AD35A
square
#4A7ED3 #D34AC3 #D39F4A #4AD35A
split-complementary
#4A7ED3 #D35A4A #C3D34A
monochromatic
#204583 #2C5FB4 #4A7ED3 #7BA1DF #ACC4EB

Accessibility & contrast

On white

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

On black

5.22
#4A7ED3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7ED3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7ED3#FFFFFF#000000##000000
##4A7ED31.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5886D6
Deuteranopia (green-blind)
#4379D1
Tritanopia (blue-blind)
#00919E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7ed3;
/* rgb */ color: rgb(74, 126, 211);
/* oklch */ color: oklch(59.8% 0.142 259.7);
Tailwind
colors: {
  custom: {
    50: '#8aa2e1',
    500: '#4a7ed3',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ed3;
$custom-light: #8aa2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ed3",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 211
  },
  "hsl": {
    "h": 217.226,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59799,
    "c": 0.14173,
    "h": 259.7
  },
  "luminance": 0.21081
}

Semantic roles & 50–950 ramp

primary
#4A7ED3
secondary
#D9C3A0
accent
#A744E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4A7ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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