#4C74D6#4C74D6

#4C74D6 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.0% C 0.157 H 265.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4C74D6
RGBrgb(76, 116, 214)
HSLhsl(223, 63%, 57%)
HSVhsv(223, 64%, 84%)
CMYKcmyk(64.5%, 45.8%, 0%, 16.1%)
CIE-LABlab(50.55, 17.15, -54.63)
CIE-LCHlch(50.55, 57.26, 287.42°)
OKLaboklab(57.96% -0.0132 -0.1562)
OKLCHoklch(57.96% 0.157 265.2)
XYZxyz(21.3593, 18.8803, 66.1239)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C74D6 #D6AE4C
analogous
#4CB9D6 #4C74D6 #694CD6
triadic
#4C74D6 #D64C74 #74D64C
tetradic
#4C74D6 #D64CB9 #D6AE4C #4CD669
square
#4C74D6 #D64CB9 #D6AE4C #4CD669
split-complementary
#4C74D6 #D6694C #B9D64C
monochromatic
#1F3E88 #2B54BA #4C74D6 #7E9BE1 #B0C1ED

Accessibility & contrast

On white

4.40
#4C74D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4C74D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C74D6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C74D6#FFFFFF#000000##000000
##4C74D61.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#447FDA
Deuteranopia (green-blind)
#2A72D4
Tritanopia (blue-blind)
#008A9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c74d6;
/* rgb */ color: rgb(76, 116, 214);
/* oklch */ color: oklch(58.0% 0.157 265.2);
Tailwind
colors: {
  custom: {
    50: '#8b9be3',
    500: '#4c74d6',
    950: '#000000',
  },
}
SCSS
$custom: #4c74d6;
$custom-light: #8b9be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c74d6",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 214
  },
  "hsl": {
    "h": 222.609,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57962,
    "c": 0.15677,
    "h": 265.2
  },
  "luminance": 0.18882
}

Semantic roles & 50–950 ramp

primary
#4C74D6
secondary
#DBCBA3
accent
#B642E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #4C74D6

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

Preview Lab → · Contrast checker → · Palette generator →

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