#4A7FD8#4A7FD8

#4A7FD8 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.3% C 0.147 H 260.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4A7FD8
RGBrgb(74, 127, 216)
HSLhsl(218, 65%, 57%)
HSVhsv(218, 66%, 85%)
CMYKcmyk(65.7%, 41.2%, 0%, 15.3%)
CIE-LABlab(53.59, 10.73, -50.90)
CIE-LCHlch(53.59, 52.02, 281.91°)
OKLaboklab(60.32% -0.0252 -0.1451)
OKLCHoklch(60.32% 0.147 260.2)
XYZxyz(22.8037, 21.5902, 67.9180)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FD8 #D8A34A
analogous
#4AC6D8 #4A7FD8 #5C4AD8
triadic
#4A7FD8 #D84A7F #7FD84A
tetradic
#4A7FD8 #D84AC6 #D8A34A #4AD85C
square
#4A7FD8 #D84AC6 #D8A34A #4AD85C
split-complementary
#4A7FD8 #D85C4A #C6D84A
monochromatic
#1E468A #2960BC #4A7FD8 #7CA3E3 #AFC6EE

Accessibility & contrast

On white

3.95
#4A7FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#4A7FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FD8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FD8#FFFFFF#000000##000000
##4A7FD81.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5687DB
Deuteranopia (green-blind)
#407AD6
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7fd8;
/* rgb */ color: rgb(74, 127, 216);
/* oklch */ color: oklch(60.3% 0.147 260.2);
Tailwind
colors: {
  custom: {
    50: '#8aa3e4',
    500: '#4a7fd8',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fd8;
$custom-light: #8aa3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fd8",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 216
  },
  "hsl": {
    "h": 217.606,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60318,
    "c": 0.14731,
    "h": 260.2
  },
  "luminance": 0.21592
}

Semantic roles & 50–950 ramp

primary
#4A7FD8
secondary
#DCC6A2
accent
#A940E8
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A7FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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