#4C74ED#4C74ED

#4C74ED is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.5% C 0.188 H 266.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4C74ED
RGBrgb(76, 116, 237)
HSLhsl(225, 82%, 61%)
HSVhsv(225, 68%, 93%)
CMYKcmyk(67.9%, 51.1%, 0%, 7.1%)
CIE-LABlab(51.99, 25.16, -65.25)
CIE-LCHlch(51.99, 69.93, 291.09°)
OKLaboklab(59.53% -0.0104 -0.1874)
OKLCHoklch(59.53% 0.188 266.8)
XYZxyz(24.5066, 20.1393, 82.7001)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C74ED #EDC54C
analogous
#4CC5ED #4C74ED #754CED
triadic
#4C74ED #ED4C74 #74ED4C
tetradic
#4C74ED #ED4CC5 #EDC54C #4CED75
square
#4C74ED #ED4CC5 #EDC54C #4CED75
split-complementary
#4C74ED #ED754C #C5ED4C
monochromatic
#1138AD #174AE5 #4C74ED #849FF3 #BBCAF8

Accessibility & contrast

On white

4.18
#4C74ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4C74ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C74ED
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C74ED#FFFFFF#000000##000000
##4C74ED1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2884F1
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c74ed;
/* rgb */ color: rgb(76, 116, 237);
/* oklch */ color: oklch(59.5% 0.188 266.8);
Tailwind
colors: {
  custom: {
    50: '#8f9bf4',
    500: '#4c74ed',
    950: '#000000',
  },
}
SCSS
$custom: #4c74ed;
$custom-light: #8f9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c74ed",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 225.093,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59529,
    "c": 0.18773,
    "h": 266.8
  },
  "luminance": 0.20142
}

Semantic roles & 50–950 ramp

primary
#4C74ED
secondary
#E8DAAC
accent
#A907DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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