#4C74DF#4C74DF

#4C74DF is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.6% C 0.169 H 265.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4C74DF
RGBrgb(76, 116, 223)
HSLhsl(224, 70%, 59%)
HSVhsv(224, 66%, 87%)
CMYKcmyk(65.9%, 48%, 0%, 12.5%)
CIE-LABlab(51.10, 20.28, -58.84)
CIE-LCHlch(51.10, 62.23, 289.01°)
OKLaboklab(58.56% -0.0119 -0.1686)
OKLCHoklch(58.56% 0.169 265.9)
XYZxyz(22.5405, 19.3528, 72.3453)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C74DF #DFB74C
analogous
#4CBEDF #4C74DF #6D4CDF
triadic
#4C74DF #DF4C74 #74DF4C
tetradic
#4C74DF #DF4CBE #DFB74C #4CDF6D
square
#4C74DF #DF4CBE #DFB74C #4CDF6D
split-complementary
#4C74DF #DF6D4C #BEDF4C
monochromatic
#1B3C96 #2451CA #4C74DF #809CE8 #B4C5F2

Accessibility & contrast

On white

4.31
#4C74DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4C74DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C74DF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C74DF#FFFFFF#000000##000000
##4C74DF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B81E3
Deuteranopia (green-blind)
#1773DD
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c74df;
/* rgb */ color: rgb(76, 116, 223);
/* oklch */ color: oklch(58.6% 0.169 265.9);
Tailwind
colors: {
  custom: {
    50: '#8d9bea',
    500: '#4c74df',
    950: '#000000',
  },
}
SCSS
$custom: #4c74df;
$custom-light: #8d9bea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c74df",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 223.673,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5856,
    "c": 0.16899,
    "h": 265.9
  },
  "luminance": 0.19355
}

Semantic roles & 50–950 ramp

primary
#4C74DF
secondary
#E0D1A6
accent
#BC3BEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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