#4A7FDC#4A7FDC

#4A7FDC is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.6% C 0.153 H 260.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4A7FDC
RGBrgb(74, 127, 220)
HSLhsl(218, 68%, 58%)
HSVhsv(218, 66%, 86%)
CMYKcmyk(66.4%, 42.3%, 0%, 13.7%)
CIE-LABlab(53.81, 12.13, -52.80)
CIE-LCHlch(53.81, 54.17, 282.94°)
OKLaboklab(60.56% -0.0244 -0.1507)
OKLCHoklch(60.56% 0.153 260.8)
XYZxyz(23.3271, 21.7996, 70.6747)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FDC #DCA74A
analogous
#4AC8DC #4A7FDC #5E4ADC
triadic
#4A7FDC #DC4A7F #7FDC4A
tetradic
#4A7FDC #DC4AC8 #DCA74A #4ADC5E
square
#4A7FDC #DC4AC8 #DCA74A #4ADC5E
split-complementary
#4A7FDC #DC5E4A #C8DC4A
monochromatic
#1C4690 #265FC3 #4A7FDC #7DA3E6 #B1C8F0

Accessibility & contrast

On white

3.92
#4A7FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4A7FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FDC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FDC#FFFFFF#000000##000000
##4A7FDC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E0
Deuteranopia (green-blind)
#3C7ADA
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a7fdc;
/* rgb */ color: rgb(74, 127, 220);
/* oklch */ color: oklch(60.6% 0.153 260.8);
Tailwind
colors: {
  custom: {
    50: '#8ba3e7',
    500: '#4a7fdc',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fdc;
$custom-light: #8ba3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fdc",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 218.219,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60564,
    "c": 0.15266,
    "h": 260.8
  },
  "luminance": 0.21802
}

Semantic roles & 50–950 ramp

primary
#4A7FDC
secondary
#DEC9A4
accent
#AC3DEA
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A7FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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