#4C74EF#4C74EF

#4C74EF is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.7% C 0.190 H 266.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4C74EF
RGBrgb(76, 116, 239)
HSLhsl(225, 84%, 62%)
HSVhsv(225, 68%, 94%)
CMYKcmyk(68.2%, 51.5%, 0%, 6.3%)
CIE-LABlab(52.13, 25.86, -66.15)
CIE-LCHlch(52.13, 71.02, 291.35°)
OKLaboklab(59.67% -0.0102 -0.1901)
OKLCHoklch(59.67% 0.19 266.9)
XYZxyz(24.8005, 20.2568, 84.2476)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C74EF #EFC74C
analogous
#4CC6EF #4C74EF #764CEF
triadic
#4C74EF #EF4C74 #74EF4C
tetradic
#4C74EF #EF4CC6 #EFC74C #4CEF76
square
#4C74EF #EF4CC6 #EFC74C #4CEF76
split-complementary
#4C74EF #EF764C #C6EF4C
monochromatic
#1037B1 #1549E9 #4C74EF #84A0F4 #BCCBF9

Accessibility & contrast

On white

4.16
#4C74EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4C74EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C74EF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C74EF#FFFFFF#000000##000000
##4C74EF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2484F3
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c74ef;
/* rgb */ color: rgb(76, 116, 239);
/* oklch */ color: oklch(59.7% 0.190 266.9);
Tailwind
colors: {
  custom: {
    50: '#909bf5',
    500: '#4c74ef',
    950: '#000000',
  },
}
SCSS
$custom: #4c74ef;
$custom-light: #909bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c74ef",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 225.276,
    "s": 83.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59671,
    "c": 0.19037,
    "h": 266.9
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#4C74EF
secondary
#EADBAD
accent
#AA05E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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