#4A74BF#4A74BF

#4A74BF is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.4% C 0.126 H 261.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4A74BF
RGBrgb(74, 116, 191)
HSLhsl(218, 48%, 52%)
HSVhsv(218, 61%, 75%)
CMYKcmyk(61.3%, 39.3%, 0%, 25.1%)
CIE-LABlab(49.14, 8.84, -43.75)
CIE-LCHlch(49.14, 44.63, 281.43°)
OKLaboklab(56.43% -0.0193 -0.1243)
OKLCHoklch(56.43% 0.126 261.2)
XYZxyz(18.4701, 17.7066, 51.7245)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A74BF #BF954A
analogous
#4AAEBF #4A74BF #5B4ABF
triadic
#4A74BF #BF4A74 #74BF4A
tetradic
#4A74BF #BF4AAE #BF954A #4ABF5B
square
#4A74BF #BF4AAE #BF954A #4ABF5B
split-complementary
#4A74BF #BF5B4A #AEBF4A
monochromatic
#253E69 #355897 #4A74BF #7797CF #A4B9DF

Accessibility & contrast

On white

4.62
#4A74BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4A74BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4A74BF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A74BF#FFFFFF#000000##FFFFFF
##4A74BF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#537BC2
Deuteranopia (green-blind)
#4370BD
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4a74bf;
/* rgb */ color: rgb(74, 116, 191);
/* oklch */ color: oklch(56.4% 0.126 261.2);
Tailwind
colors: {
  custom: {
    50: '#879bd3',
    500: '#4a74bf',
    950: '#000000',
  },
}
SCSS
$custom: #4a74bf;
$custom-light: #879bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a74bf",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 218.462,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56426,
    "c": 0.12579,
    "h": 261.2
  },
  "luminance": 0.17708
}

Semantic roles & 50–950 ramp

primary
#4A74BF
secondary
#CCBA99
accent
#A750D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4A74BF

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

Preview Lab → · Contrast checker → · Palette generator →

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