#4A7CD8#4A7CD8

#4A7CD8 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.7% C 0.151 H 261.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4A7CD8
RGBrgb(74, 124, 216)
HSLhsl(219, 65%, 57%)
HSVhsv(219, 66%, 85%)
CMYKcmyk(65.7%, 42.6%, 0%, 15.3%)
CIE-LABlab(52.76, 12.57, -52.23)
CIE-LCHlch(52.76, 53.72, 283.53°)
OKLaboklab(59.68% -0.0223 -0.1491)
OKLCHoklch(59.68% 0.151 261.5)
XYZxyz(22.4220, 20.8268, 67.7908)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CD8 #D8A64A
analogous
#4AC3D8 #4A7CD8 #5F4AD8
triadic
#4A7CD8 #D84A7C #7CD84A
tetradic
#4A7CD8 #D84AC3 #D8A64A #4AD85F
square
#4A7CD8 #D84AC3 #D8A64A #4AD85F
split-complementary
#4A7CD8 #D85F4A #C3D84A
monochromatic
#1E448A #295DBC #4A7CD8 #7CA0E3 #AFC5EE

Accessibility & contrast

On white

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

On black

5.17
#4A7CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CD8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CD8#FFFFFF#000000##000000
##4A7CD81.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5185DC
Deuteranopia (green-blind)
#3A78D6
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7cd8;
/* rgb */ color: rgb(74, 124, 216);
/* oklch */ color: oklch(59.7% 0.151 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ba1e4',
    500: '#4a7cd8',
    950: '#000000',
  },
}
SCSS
$custom: #4a7cd8;
$custom-light: #8ba1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7cd8",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 218.873,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.15073,
    "h": 261.5
  },
  "luminance": 0.20829
}

Semantic roles & 50–950 ramp

primary
#4A7CD8
secondary
#DCC7A2
accent
#AD40E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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