#4A74B2#4A74B2

#4A74B2 is a mid, moderate blue. Relative luminance 0.172; OKLCH L 55.7% C 0.108 H 258.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4A74B2
RGBrgb(74, 116, 178)
HSLhsl(216, 41%, 49%)
HSVhsv(216, 58%, 70%)
CMYKcmyk(58.4%, 34.8%, 0%, 30.2%)
CIE-LABlab(48.46, 4.43, -37.31)
CIE-LCHlch(48.46, 37.57, 276.77°)
OKLaboklab(55.68% -0.0224 -0.1055)
OKLCHoklch(55.68% 0.108 258)
XYZxyz(17.1025, 17.1595, 44.5217)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A74B2 #B2884A
analogous
#4AA8B2 #4A74B2 #544AB2
triadic
#4A74B2 #B24A74 #74B24A
tetradic
#4A74B2 #B24AA8 #B2884A #4AB254
square
#4A74B2 #B24AA8 #B2884A #4AB254
split-complementary
#4A74B2 #B2544A #A8B24A
monochromatic
#263C5C #385887 #4A74B2 #7495C5 #9FB6D7

Accessibility & contrast

On white

4.74
#4A74B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4A74B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A74B2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A74B2#FFFFFF#000000##FFFFFF
##4A74B21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A78B5
Deuteranopia (green-blind)
#4D6FB1
Tritanopia (blue-blind)
#00828B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a74b2;
/* rgb */ color: rgb(74, 116, 178);
/* oklch */ color: oklch(55.7% 0.108 258.0);
Tailwind
colors: {
  custom: {
    50: '#859bc9',
    500: '#4a74b2',
    950: '#000000',
  },
}
SCSS
$custom: #4a74b2;
$custom-light: #859bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a74b2",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 215.769,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55678,
    "c": 0.10784,
    "h": 258
  },
  "luminance": 0.17161
}

Semantic roles & 50–950 ramp

primary
#4A74B2
secondary
#C4B194
accent
#A057D1
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4A74B2

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

Preview Lab → · Contrast checker → · Palette generator →

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