#4A74CD#4A74CD

#4A74CD is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.3% C 0.145 H 263.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4A74CD
RGBrgb(74, 116, 205)
HSLhsl(221, 57%, 55%)
HSVhsv(221, 64%, 80%)
CMYKcmyk(63.9%, 43.4%, 0%, 19.6%)
CIE-LABlab(49.92, 13.67, -50.52)
CIE-LCHlch(49.92, 52.34, 285.14°)
OKLaboklab(57.28% -0.0165 -0.1442)
OKLCHoklch(57.28% 0.145 263.5)
XYZxyz(20.0850, 18.3525, 60.2297)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A74CD #CDA34A
analogous
#4AB6CD #4A74CD #614ACD
triadic
#4A74CD #CD4A74 #74CD4A
tetradic
#4A74CD #CD4AB6 #CDA34A #4ACD61
square
#4A74CD #CD4AB6 #CDA34A #4ACD61
split-complementary
#4A74CD #CD614A #B6CD4A
monochromatic
#223E7B #2F57AB #4A74CD #7A99DA #AABEE7

Accessibility & contrast

On white

4.50
#4A74CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#4A74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A74CD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A74CD#FFFFFF#000000##000000
##4A74CD1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD0
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a74cd;
/* rgb */ color: rgb(74, 116, 205);
/* oklch */ color: oklch(57.3% 0.145 263.5);
Tailwind
colors: {
  custom: {
    50: '#899bdd',
    500: '#4a74cd',
    950: '#000000',
  },
}
SCSS
$custom: #4a74cd;
$custom-light: #899bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a74cd",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 220.763,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57284,
    "c": 0.1451,
    "h": 263.5
  },
  "luminance": 0.18354
}

Semantic roles & 50–950 ramp

primary
#4A74CD
secondary
#D5C39E
accent
#AF48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4A74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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