#4A7FD2#4A7FD2

#4A7FD2 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.0% C 0.139 H 259.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4A7FD2
RGBrgb(74, 127, 210)
HSLhsl(217, 60%, 56%)
HSVhsv(217, 65%, 82%)
CMYKcmyk(64.8%, 39.5%, 0%, 17.6%)
CIE-LABlab(53.26, 8.65, -48.04)
CIE-LCHlch(53.26, 48.81, 280.21°)
OKLaboklab(59.96% -0.0264 -0.1367)
OKLCHoklch(59.96% 0.139 259.1)
XYZxyz(22.0421, 21.2856, 63.9072)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FD2 #D29D4A
analogous
#4AC3D2 #4A7FD2 #594AD2
triadic
#4A7FD2 #D24A7F #7FD24A
tetradic
#4A7FD2 #D24AC3 #D29D4A #4AD259
square
#4A7FD2 #D24AC3 #D29D4A #4AD259
split-complementary
#4A7FD2 #D2594A #C3D24A
monochromatic
#204681 #2C61B2 #4A7FD2 #7BA2DE #ACC4EA

Accessibility & contrast

On white

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

On black

5.26
#4A7FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FD2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FD2#FFFFFF#000000##000000
##4A7FD21.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A86D5
Deuteranopia (green-blind)
#4679D0
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7fd2;
/* rgb */ color: rgb(74, 127, 210);
/* oklch */ color: oklch(60.0% 0.139 259.1);
Tailwind
colors: {
  custom: {
    50: '#89a3e0',
    500: '#4a7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fd2;
$custom-light: #89a3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fd2",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 216.618,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59956,
    "c": 0.13926,
    "h": 259.1
  },
  "luminance": 0.21288
}

Semantic roles & 50–950 ramp

primary
#4A7FD2
secondary
#D8C2A0
accent
#A544E3
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4A7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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