#4A7ECD#4A7ECD

#4A7ECD is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.4% C 0.134 H 258.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4A7ECD
RGBrgb(74, 126, 205)
HSLhsl(216, 57%, 55%)
HSVhsv(216, 64%, 80%)
CMYKcmyk(63.9%, 38.5%, 0%, 19.6%)
CIE-LABlab(52.71, 7.54, -46.08)
CIE-LCHlch(52.71, 46.69, 279.29°)
OKLaboklab(59.44% -0.0266 -0.131)
OKLCHoklch(59.44% 0.134 258.5)
XYZxyz(21.3004, 20.7833, 60.6348)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7ECD #CD994A
analogous
#4AC0CD #4A7ECD #574ACD
triadic
#4A7ECD #CD4A7E #7ECD4A
tetradic
#4A7ECD #CD4AC0 #CD994A #4ACD57
square
#4A7ECD #CD4AC0 #CD994A #4ACD57
split-complementary
#4A7ECD #CD574A #C0CD4A
monochromatic
#22457B #2F60AB #4A7ECD #7AA0DA #AAC2E7

Accessibility & contrast

On white

4.07
#4A7ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4A7ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7ECD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7ECD#FFFFFF#000000##000000
##4A7ECD1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84D0
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7ecd;
/* rgb */ color: rgb(74, 126, 205);
/* oklch */ color: oklch(59.4% 0.134 258.5);
Tailwind
colors: {
  custom: {
    50: '#89a2dc',
    500: '#4a7ecd',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ecd;
$custom-light: #89a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ecd",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 216.183,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59442,
    "c": 0.13367,
    "h": 258.5
  },
  "luminance": 0.20785
}

Semantic roles & 50–950 ramp

primary
#4A7ECD
secondary
#D5BF9E
accent
#A448E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0F15
muted
#7D7E83

Preview Lab

Preview with #4A7ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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