#4A7ED5#4A7ED5

#4A7ED5 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.9% C 0.144 H 260.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4A7ED5
RGBrgb(74, 126, 213)
HSLhsl(218, 62%, 56%)
HSVhsv(218, 65%, 84%)
CMYKcmyk(65.3%, 40.8%, 0%, 16.5%)
CIE-LABlab(53.15, 10.30, -49.92)
CIE-LCHlch(53.15, 50.97, 281.66°)
OKLaboklab(59.92% -0.0248 -0.1423)
OKLCHoklch(59.92% 0.144 260.1)
XYZxyz(22.2909, 21.1795, 65.8512)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7ED5 #D5A14A
analogous
#4AC4D5 #4A7ED5 #5C4AD5
triadic
#4A7ED5 #D54A7E #7ED54A
tetradic
#4A7ED5 #D54AC4 #D5A14A #4AD55C
square
#4A7ED5 #D54AC4 #D5A14A #4AD55C
split-complementary
#4A7ED5 #D55C4A #C4D54A
monochromatic
#1F4586 #2B5FB7 #4A7ED5 #7CA1E1 #ADC5EC

Accessibility & contrast

On white

4.01
#4A7ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4A7ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7ED5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7ED5#FFFFFF#000000##000000
##4A7ED51.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5686D8
Deuteranopia (green-blind)
#4179D3
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7ed5;
/* rgb */ color: rgb(74, 126, 213);
/* oklch */ color: oklch(59.9% 0.144 260.1);
Tailwind
colors: {
  custom: {
    50: '#8aa2e2',
    500: '#4a7ed5',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ed5;
$custom-light: #8aa2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ed5",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 213
  },
  "hsl": {
    "h": 217.554,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5992,
    "c": 0.14441,
    "h": 260.1
  },
  "luminance": 0.21182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A7ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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