#4A7FCC#4A7FCC

#4A7FCC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.6% C 0.131 H 257.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4A7FCC
RGBrgb(74, 127, 204)
HSLhsl(216, 56%, 55%)
HSVhsv(216, 64%, 80%)
CMYKcmyk(63.7%, 37.7%, 0%, 20%)
CIE-LABlab(52.94, 6.59, -45.14)
CIE-LCHlch(52.94, 45.62, 278.30°)
OKLaboklab(59.6% -0.0278 -0.1283)
OKLCHoklch(59.6% 0.131 257.8)
XYZxyz(21.3086, 20.9922, 60.0440)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FCC #CC974A
analogous
#4AC0CC #4A7FCC #564ACC
triadic
#4A7FCC #CC4A7F #7FCC4A
tetradic
#4A7FCC #CC4AC0 #CC974A #4ACC56
square
#4A7FCC #CC4AC0 #CC974A #4ACC56
split-complementary
#4A7FCC #CC564A #C0CC4A
monochromatic
#224679 #3061A9 #4A7FCC #7AA1D9 #A9C3E7

Accessibility & contrast

On white

4.04
#4A7FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4A7FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FCC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FCC#FFFFFF#000000##000000
##4A7FCC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85CF
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7fcc;
/* rgb */ color: rgb(74, 127, 204);
/* oklch */ color: oklch(59.6% 0.131 257.8);
Tailwind
colors: {
  custom: {
    50: '#88a3dc',
    500: '#4a7fcc',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fcc;
$custom-light: #88a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fcc",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 215.538,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59603,
    "c": 0.13124,
    "h": 257.8
  },
  "luminance": 0.20994
}

Semantic roles & 50–950 ramp

primary
#4A7FCC
secondary
#D4BE9D
accent
#A248DF
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4A7FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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