#4A7CCC#4A7CCC

#4A7CCC is a mid, vivid blue. Relative luminance 0.202; OKLCH L 58.9% C 0.135 H 259.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4A7CCC
RGBrgb(74, 124, 204)
HSLhsl(217, 56%, 55%)
HSVhsv(217, 64%, 80%)
CMYKcmyk(63.7%, 39.2%, 0%, 20%)
CIE-LABlab(52.09, 8.41, -46.49)
CIE-LCHlch(52.09, 47.24, 280.25°)
OKLaboklab(58.95% -0.0247 -0.1322)
OKLCHoklch(58.95% 0.135 259.4)
XYZxyz(20.9269, 20.2288, 59.9167)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CCC #CC9A4A
analogous
#4ABDCC #4A7CCC #594ACC
triadic
#4A7CCC #CC4A7C #7CCC4A
tetradic
#4A7CCC #CC4ABD #CC9A4A #4ACC59
square
#4A7CCC #CC4ABD #CC9A4A #4ACC59
split-complementary
#4A7CCC #CC594A #BDCC4A
monochromatic
#224479 #305EA9 #4A7CCC #7A9FD9 #A9C1E7

Accessibility & contrast

On white

4.16
#4A7CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4A7CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CCC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CCC#FFFFFF#000000##000000
##4A7CCC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CF
Deuteranopia (green-blind)
#4677CA
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a7ccc;
/* rgb */ color: rgb(74, 124, 204);
/* oklch */ color: oklch(58.9% 0.135 259.4);
Tailwind
colors: {
  custom: {
    50: '#89a1dc',
    500: '#4a7ccc',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ccc;
$custom-light: #89a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ccc",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 216.923,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58946,
    "c": 0.13452,
    "h": 259.4
  },
  "luminance": 0.20231
}

Semantic roles & 50–950 ramp

primary
#4A7CCC
secondary
#D4BF9D
accent
#A548DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4A7CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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