#4A7FD9#4A7FD9

#4A7FD9 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.4% C 0.149 H 260.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4A7FD9
RGBrgb(74, 127, 217)
HSLhsl(218, 65%, 57%)
HSVhsv(218, 66%, 85%)
CMYKcmyk(65.9%, 41.5%, 0%, 14.9%)
CIE-LABlab(53.65, 11.08, -51.38)
CIE-LCHlch(53.65, 52.56, 282.17°)
OKLaboklab(60.38% -0.025 -0.1465)
OKLCHoklch(60.38% 0.149 260.3)
XYZxyz(22.9333, 21.6421, 68.6009)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FD9 #D9A44A
analogous
#4AC7D9 #4A7FD9 #5C4AD9
triadic
#4A7FD9 #D94A7F #7FD94A
tetradic
#4A7FD9 #D94AC7 #D9A44A #4AD95C
square
#4A7FD9 #D94AC7 #D9A44A #4AD95C
split-complementary
#4A7FD9 #D95C4A #C7D94A
monochromatic
#1D468B #285FBE #4A7FD9 #7DA3E4 #AFC7EE

Accessibility & contrast

On white

3.94
#4A7FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4A7FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FD9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FD9#FFFFFF#000000##000000
##4A7FD91.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5587DD
Deuteranopia (green-blind)
#3F7AD7
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7fd9;
/* rgb */ color: rgb(74, 127, 217);
/* oklch */ color: oklch(60.4% 0.149 260.3);
Tailwind
colors: {
  custom: {
    50: '#8ba3e5',
    500: '#4a7fd9',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fd9;
$custom-light: #8ba3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fd9",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 217
  },
  "hsl": {
    "h": 217.762,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60379,
    "c": 0.14865,
    "h": 260.3
  },
  "luminance": 0.21644
}

Semantic roles & 50–950 ramp

primary
#4A7FD9
secondary
#DCC7A2
accent
#AA40E8
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A7FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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