#4A7FD1#4A7FD1

#4A7FD1 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.9% C 0.138 H 258.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4A7FD1
RGBrgb(74, 127, 209)
HSLhsl(216, 59%, 55%)
HSVhsv(216, 65%, 82%)
CMYKcmyk(64.6%, 39.2%, 0%, 18%)
CIE-LABlab(53.21, 8.31, -47.56)
CIE-LCHlch(53.21, 48.28, 279.91°)
OKLaboklab(59.9% -0.0267 -0.1353)
OKLCHoklch(59.9% 0.138 258.9)
XYZxyz(21.9179, 21.2359, 63.2531)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FD1 #D19C4A
analogous
#4AC3D1 #4A7FD1 #584AD1
triadic
#4A7FD1 #D14A7F #7FD14A
tetradic
#4A7FD1 #D14AC3 #D19C4A #4AD158
square
#4A7FD1 #D14AC3 #D19C4A #4AD158
split-complementary
#4A7FD1 #D1584A #C3D14A
monochromatic
#214680 #2D61B1 #4A7FD1 #7BA2DD #ACC4EA

Accessibility & contrast

On white

4.00
#4A7FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4A7FD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FD1
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FD1#FFFFFF#000000##000000
##4A7FD11.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A86D4
Deuteranopia (green-blind)
#4779CF
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7fd1;
/* rgb */ color: rgb(74, 127, 209);
/* oklch */ color: oklch(59.9% 0.138 258.9);
Tailwind
colors: {
  custom: {
    50: '#89a3df',
    500: '#4a7fd1',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fd1;
$custom-light: #89a3df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fd1",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 209
  },
  "hsl": {
    "h": 216.444,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59897,
    "c": 0.13792,
    "h": 258.9
  },
  "luminance": 0.21238
}

Semantic roles & 50–950 ramp

primary
#4A7FD1
secondary
#D8C19F
accent
#A545E3
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4A7FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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