#4A74CF#4A74CF

#4A74CF is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.4% C 0.148 H 263.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4A74CF
RGBrgb(74, 116, 207)
HSLhsl(221, 58%, 55%)
HSVhsv(221, 64%, 81%)
CMYKcmyk(64.3%, 44%, 0%, 18.8%)
CIE-LABlab(50.04, 14.37, -51.48)
CIE-LCHlch(50.04, 53.44, 285.60°)
OKLaboklab(57.41% -0.0161 -0.147)
OKLCHoklch(57.41% 0.148 263.7)
XYZxyz(20.3280, 18.4497, 61.5093)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A74CF #CFA54A
analogous
#4AB6CF #4A74CF #634ACF
triadic
#4A74CF #CF4A74 #74CF4A
tetradic
#4A74CF #CF4AB6 #CFA54A #4ACF63
square
#4A74CF #CF4AB6 #CFA54A #4ACF63
split-complementary
#4A74CF #CF634A #B6CF4A
monochromatic
#213E7D #2E56AE #4A74CF #7A99DC #ABBEE9

Accessibility & contrast

On white

4.48
#4A74CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4A74CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A74CF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A74CF#FFFFFF#000000##000000
##4A74CF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ED2
Deuteranopia (green-blind)
#3371CD
Tritanopia (blue-blind)
#008997
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a74cf;
/* rgb */ color: rgb(74, 116, 207);
/* oklch */ color: oklch(57.4% 0.148 263.7);
Tailwind
colors: {
  custom: {
    50: '#899bde',
    500: '#4a74cf',
    950: '#000000',
  },
}
SCSS
$custom: #4a74cf;
$custom-light: #899bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4a74cf",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 221.053,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.14785,
    "h": 263.7
  },
  "luminance": 0.18452
}

Semantic roles & 50–950 ramp

primary
#4A74CF
secondary
#D6C59F
accent
#B046E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4A74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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