#4A7FD5#4A7FD5

#4A7FD5 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.1% C 0.143 H 259.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4A7FD5
RGBrgb(74, 127, 213)
HSLhsl(217, 62%, 56%)
HSVhsv(217, 65%, 84%)
CMYKcmyk(65.3%, 40.4%, 0%, 16.5%)
CIE-LABlab(53.42, 9.69, -49.47)
CIE-LCHlch(53.42, 50.41, 281.08°)
OKLaboklab(60.14% -0.0258 -0.1409)
OKLCHoklch(60.14% 0.143 259.6)
XYZxyz(22.4194, 21.4365, 65.8940)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FD5 #D5A04A
analogous
#4AC5D5 #4A7FD5 #5B4AD5
triadic
#4A7FD5 #D54A7F #7FD54A
tetradic
#4A7FD5 #D54AC5 #D5A04A #4AD55B
square
#4A7FD5 #D54AC5 #D5A04A #4AD55B
split-complementary
#4A7FD5 #D55B4A #C5D54A
monochromatic
#1F4686 #2B60B7 #4A7FD5 #7CA2E1 #ADC5EC

Accessibility & contrast

On white

3.97
#4A7FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4A7FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FD5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FD5#FFFFFF#000000##000000
##4A7FD51.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5887D8
Deuteranopia (green-blind)
#437AD3
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7fd5;
/* rgb */ color: rgb(74, 127, 213);
/* oklch */ color: oklch(60.1% 0.143 259.6);
Tailwind
colors: {
  custom: {
    50: '#8aa3e2',
    500: '#4a7fd5',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fd5;
$custom-light: #8aa3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fd5",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 213
  },
  "hsl": {
    "h": 217.122,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60136,
    "c": 0.14328,
    "h": 259.6
  },
  "luminance": 0.21439
}

Semantic roles & 50–950 ramp

primary
#4A7FD5
secondary
#DAC4A1
accent
#A742E5
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4A7FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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