#4A74C2#4A74C2

#4A74C2 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.6% C 0.130 H 261.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4A74C2
RGBrgb(74, 116, 194)
HSLhsl(219, 50%, 53%)
HSVhsv(219, 62%, 76%)
CMYKcmyk(61.9%, 40.2%, 0%, 23.9%)
CIE-LABlab(49.30, 9.87, -45.21)
CIE-LCHlch(49.30, 46.28, 282.32°)
OKLaboklab(56.61% -0.0186 -0.1286)
OKLCHoklch(56.61% 0.13 261.8)
XYZxyz(18.8036, 17.8400, 53.4810)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A74C2 #C2984A
analogous
#4AB0C2 #4A74C2 #5C4AC2
triadic
#4A74C2 #C24A74 #74C24A
tetradic
#4A74C2 #C24AB0 #C2984A #4AC25C
square
#4A74C2 #C24AB0 #C2984A #4AC25C
split-complementary
#4A74C2 #C25C4A #B0C24A
monochromatic
#253E6D #34589B #4A74C2 #7897D1 #A6BAE1

Accessibility & contrast

On white

4.60
#4A74C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4A74C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4A74C2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A74C2#FFFFFF#000000##FFFFFF
##4A74C21.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#527BC5
Deuteranopia (green-blind)
#4170C0
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4a74c2;
/* rgb */ color: rgb(74, 116, 194);
/* oklch */ color: oklch(56.6% 0.130 261.8);
Tailwind
colors: {
  custom: {
    50: '#879bd5',
    500: '#4a74c2',
    950: '#000000',
  },
}
SCSS
$custom: #4a74c2;
$custom-light: #879bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a74c2",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 194
  },
  "hsl": {
    "h": 219,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56605,
    "c": 0.12993,
    "h": 261.8
  },
  "luminance": 0.17842
}

Semantic roles & 50–950 ramp

primary
#4A74C2
secondary
#CEBC9A
accent
#A94FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4A74C2

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

Preview Lab → · Contrast checker → · Palette generator →

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