#4A7ED8#4A7ED8

#4A7ED8 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.1% C 0.148 H 260.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4A7ED8
RGBrgb(74, 126, 216)
HSLhsl(218, 65%, 57%)
HSVhsv(218, 66%, 85%)
CMYKcmyk(65.7%, 41.7%, 0%, 15.3%)
CIE-LABlab(53.31, 11.34, -51.35)
CIE-LCHlch(53.31, 52.58, 282.46°)
OKLaboklab(60.1% -0.0242 -0.1464)
OKLCHoklch(60.1% 0.148 260.6)
XYZxyz(22.6752, 21.3332, 67.8752)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7ED8 #D8A44A
analogous
#4AC5D8 #4A7ED8 #5D4AD8
triadic
#4A7ED8 #D84A7E #7ED84A
tetradic
#4A7ED8 #D84AC5 #D8A44A #4AD85D
square
#4A7ED8 #D84AC5 #D8A44A #4AD85D
split-complementary
#4A7ED8 #D85D4A #C5D84A
monochromatic
#1E458A #295FBC #4A7ED8 #7CA2E3 #AFC6EE

Accessibility & contrast

On white

3.99
#4A7ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4A7ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7ED8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7ED8#FFFFFF#000000##000000
##4A7ED81.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5486DC
Deuteranopia (green-blind)
#3E79D6
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7ed8;
/* rgb */ color: rgb(74, 126, 216);
/* oklch */ color: oklch(60.1% 0.148 260.6);
Tailwind
colors: {
  custom: {
    50: '#8aa2e4',
    500: '#4a7ed8',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ed8;
$custom-light: #8aa2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ed8",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 216
  },
  "hsl": {
    "h": 218.028,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60103,
    "c": 0.14844,
    "h": 260.6
  },
  "luminance": 0.21335
}

Semantic roles & 50–950 ramp

primary
#4A7ED8
secondary
#DCC7A2
accent
#AA40E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4A7ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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