#4C74BA#4C74BA

#4C74BA is a mid, moderate blue. Relative luminance 0.176; OKLCH L 56.2% C 0.118 H 260.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4C74BA
RGBrgb(76, 116, 186)
HSLhsl(218, 44%, 51%)
HSVhsv(218, 59%, 73%)
CMYKcmyk(59.1%, 37.6%, 0%, 27.1%)
CIE-LABlab(48.97, 7.54, -41.12)
CIE-LCHlch(48.97, 41.81, 280.39°)
OKLaboklab(56.24% -0.0186 -0.1166)
OKLCHoklch(56.24% 0.118 260.9)
XYZxyz(18.0857, 17.5709, 48.8833)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C74BA #BA924C
analogous
#4CABBA #4C74BA #5B4CBA
triadic
#4C74BA #BA4C74 #74BA4C
tetradic
#4C74BA #BA4CAB #BA924C #4CBA5B
square
#4C74BA #BA4CAB #BA924C #4CBA5B
split-complementary
#4C74BA #BA5B4C #ABBA4C
monochromatic
#273D65 #385891 #4C74BA #7896CB #A4B9DC

Accessibility & contrast

On white

4.65
#4C74BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#4C74BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C74BA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C74BA#FFFFFF#000000##FFFFFF
##4C74BA1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#577ABD
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#00848E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c74ba;
/* rgb */ color: rgb(76, 116, 186);
/* oklch */ color: oklch(56.2% 0.118 260.9);
Tailwind
colors: {
  custom: {
    50: '#879bcf',
    500: '#4c74ba',
    950: '#000000',
  },
}
SCSS
$custom: #4c74ba;
$custom-light: #879bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c74ba",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 186
  },
  "hsl": {
    "h": 218.182,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56237,
    "c": 0.11807,
    "h": 260.9
  },
  "luminance": 0.17572
}

Semantic roles & 50–950 ramp

primary
#4C74BA
secondary
#C9B899
accent
#A554D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4C74BA

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

Preview Lab → · Contrast checker → · Palette generator →

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