#4C74DC#4C74DC

#4C74DC is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.4% C 0.165 H 265.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4C74DC
RGBrgb(76, 116, 220)
HSLhsl(223, 67%, 58%)
HSVhsv(223, 65%, 86%)
CMYKcmyk(65.5%, 47.3%, 0%, 13.7%)
CIE-LABlab(50.91, 19.23, -57.44)
CIE-LCHlch(50.91, 60.58, 288.51°)
OKLaboklab(58.36% -0.0123 -0.1645)
OKLCHoklch(58.36% 0.165 265.7)
XYZxyz(22.1397, 19.1925, 70.2340)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C74DC #DCB44C
analogous
#4CBCDC #4C74DC #6C4CDC
triadic
#4C74DC #DC4C74 #74DC4C
tetradic
#4C74DC #DC4CBC #DCB44C #4CDC6C
square
#4C74DC #DC4CBC #DCB44C #4CDC6C
split-complementary
#4C74DC #DC6C4C #BCDC4C
monochromatic
#1C3D91 #2652C4 #4C74DC #7F9CE6 #B2C4F0

Accessibility & contrast

On white

4.34
#4C74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4C74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C74DC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C74DC#FFFFFF#000000##000000
##4C74DC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80E0
Deuteranopia (green-blind)
#1F73DA
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4c74dc;
/* rgb */ color: rgb(76, 116, 220);
/* oklch */ color: oklch(58.4% 0.165 265.7);
Tailwind
colors: {
  custom: {
    50: '#8c9be7',
    500: '#4c74dc',
    950: '#000000',
  },
}
SCSS
$custom: #4c74dc;
$custom-light: #8c9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c74dc",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 223.333,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58359,
    "c": 0.16493,
    "h": 265.7
  },
  "luminance": 0.19195
}

Semantic roles & 50–950 ramp

primary
#4C74DC
secondary
#DFCFA5
accent
#BA3EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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