#4A74CC#4A74CC

#4A74CC is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.2% C 0.144 H 263.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4A74CC
RGBrgb(74, 116, 204)
HSLhsl(221, 56%, 55%)
HSVhsv(221, 64%, 80%)
CMYKcmyk(63.7%, 43.1%, 0%, 20%)
CIE-LABlab(49.86, 13.33, -50.04)
CIE-LCHlch(49.86, 51.79, 284.91°)
OKLaboklab(57.22% -0.0167 -0.1428)
OKLCHoklch(57.22% 0.144 263.3)
XYZxyz(19.9647, 18.3044, 59.5960)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A74CC #CCA24A
analogous
#4AB5CC #4A74CC #614ACC
triadic
#4A74CC #CC4A74 #74CC4A
tetradic
#4A74CC #CC4AB5 #CCA24A #4ACC61
square
#4A74CC #CC4AB5 #CCA24A #4ACC61
split-complementary
#4A74CC #CC614A #B5CC4A
monochromatic
#223E79 #3057A9 #4A74CC #7A99D9 #A9BDE7

Accessibility & contrast

On white

4.51
#4A74CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4A74CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A74CC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A74CC#FFFFFF#000000##000000
##4A74CC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DCF
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a74cc;
/* rgb */ color: rgb(74, 116, 204);
/* oklch */ color: oklch(57.2% 0.144 263.3);
Tailwind
colors: {
  custom: {
    50: '#899bdc',
    500: '#4a74cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a74cc;
$custom-light: #899bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a74cc",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 220.615,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.14373,
    "h": 263.3
  },
  "luminance": 0.18306
}

Semantic roles & 50–950 ramp

primary
#4A74CC
secondary
#D4C39D
accent
#AF48DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4A74CC

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

Preview Lab → · Contrast checker → · Palette generator →

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