#4A7DCC#4A7DCC

#4A7DCC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.133 H 258.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4A7DCC
RGBrgb(74, 125, 204)
HSLhsl(216, 56%, 55%)
HSVhsv(216, 64%, 80%)
CMYKcmyk(63.7%, 38.7%, 0%, 20%)
CIE-LABlab(52.38, 7.80, -46.04)
CIE-LCHlch(52.38, 46.70, 279.61°)
OKLaboklab(59.17% -0.0258 -0.1309)
OKLCHoklch(59.17% 0.133 258.9)
XYZxyz(21.0529, 20.4807, 59.9587)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DCC #CC994A
analogous
#4ABECC #4A7DCC #584ACC
triadic
#4A7DCC #CC4A7D #7DCC4A
tetradic
#4A7DCC #CC4ABE #CC994A #4ACC58
square
#4A7DCC #CC4ABE #CC994A #4ACC58
split-complementary
#4A7DCC #CC584A #BECC4A
monochromatic
#224479 #305FA9 #4A7DCC #7A9FD9 #A9C2E7

Accessibility & contrast

On white

4.12
#4A7DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4A7DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DCC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DCC#FFFFFF#000000##000000
##4A7DCC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84CF
Deuteranopia (green-blind)
#4877CA
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7dcc;
/* rgb */ color: rgb(74, 125, 204);
/* oklch */ color: oklch(59.2% 0.133 258.9);
Tailwind
colors: {
  custom: {
    50: '#89a2dc',
    500: '#4a7dcc',
    950: '#000000',
  },
}
SCSS
$custom: #4a7dcc;
$custom-light: #89a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7dcc",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 216.462,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59165,
    "c": 0.13341,
    "h": 258.9
  },
  "luminance": 0.20483
}

Semantic roles & 50–950 ramp

primary
#4A7DCC
secondary
#D4BF9D
accent
#A448DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #4A7DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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