#4A7FD7#4A7FD7

#4A7FD7 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.146 H 260.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4A7FD7
RGBrgb(74, 127, 215)
HSLhsl(217, 64%, 57%)
HSVhsv(217, 66%, 84%)
CMYKcmyk(65.6%, 40.9%, 0%, 15.7%)
CIE-LABlab(53.53, 10.39, -50.43)
CIE-LCHlch(53.53, 51.49, 281.64°)
OKLaboklab(60.26% -0.0254 -0.1437)
OKLCHoklch(60.26% 0.146 260)
XYZxyz(22.6748, 21.5387, 67.2392)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FD7 #D7A24A
analogous
#4AC6D7 #4A7FD7 #5C4AD7
triadic
#4A7FD7 #D74A7F #7FD74A
tetradic
#4A7FD7 #D74AC6 #D7A24A #4AD75C
square
#4A7FD7 #D74AC6 #D7A24A #4AD75C
split-complementary
#4A7FD7 #D75C4A #C6D74A
monochromatic
#1E4688 #2960BB #4A7FD7 #7CA2E2 #AEC6ED

Accessibility & contrast

On white

3.96
#4A7FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4A7FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FD7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FD7#FFFFFF#000000##000000
##4A7FD71.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5787DA
Deuteranopia (green-blind)
#417AD5
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7fd7;
/* rgb */ color: rgb(74, 127, 215);
/* oklch */ color: oklch(60.3% 0.146 260.0);
Tailwind
colors: {
  custom: {
    50: '#8aa3e4',
    500: '#4a7fd7',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fd7;
$custom-light: #8aa3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fd7",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 217.447,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60257,
    "c": 0.14597,
    "h": 260
  },
  "luminance": 0.21541
}

Semantic roles & 50–950 ramp

primary
#4A7FD7
secondary
#DBC6A2
accent
#A841E7
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4A7FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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