#4A7CD7#4A7CD7

#4A7CD7 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.6% C 0.149 H 261.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4A7CD7
RGBrgb(74, 124, 215)
HSLhsl(219, 64%, 57%)
HSVhsv(219, 66%, 84%)
CMYKcmyk(65.6%, 42.3%, 0%, 15.7%)
CIE-LABlab(52.70, 12.22, -51.75)
CIE-LCHlch(52.70, 53.18, 283.29°)
OKLaboklab(59.61% -0.0225 -0.1477)
OKLCHoklch(59.61% 0.149 261.3)
XYZxyz(22.2931, 20.7753, 67.1120)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CD7 #D7A54A
analogous
#4AC3D7 #4A7CD7 #5F4AD7
triadic
#4A7CD7 #D74A7C #7CD74A
tetradic
#4A7CD7 #D74AC3 #D7A54A #4AD75F
square
#4A7CD7 #D74AC3 #D7A54A #4AD75F
split-complementary
#4A7CD7 #D75F4A #C3D74A
monochromatic
#1E4488 #295DBB #4A7CD7 #7CA0E2 #AEC5ED

Accessibility & contrast

On white

4.07
#4A7CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4A7CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CD7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CD7#FFFFFF#000000##000000
##4A7CD71.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5285DB
Deuteranopia (green-blind)
#3B78D5
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7cd7;
/* rgb */ color: rgb(74, 124, 215);
/* oklch */ color: oklch(59.6% 0.149 261.3);
Tailwind
colors: {
  custom: {
    50: '#8aa1e4',
    500: '#4a7cd7',
    950: '#000000',
  },
}
SCSS
$custom: #4a7cd7;
$custom-light: #8aa1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7cd7",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 218.723,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59614,
    "c": 0.14937,
    "h": 261.3
  },
  "luminance": 0.20777
}

Semantic roles & 50–950 ramp

primary
#4A7CD7
secondary
#DBC7A2
accent
#AC41E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #4A7CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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