#4C74F0#4C74F0

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

Color values

HEX#4C74F0
RGBrgb(76, 116, 240)
HSLhsl(225, 85%, 62%)
HSVhsv(225, 68%, 94%)
CMYKcmyk(68.3%, 51.7%, 0%, 5.9%)
CIE-LABlab(52.19, 26.21, -66.60)
CIE-LCHlch(52.19, 71.57, 291.48°)
OKLaboklab(59.74% -0.0101 -0.1914)
OKLCHoklch(59.74% 0.192 267)
XYZxyz(24.9486, 20.3161, 85.0278)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C74F0 #F0C84C
analogous
#4CC6F0 #4C74F0 #764CF0
triadic
#4C74F0 #F04C74 #74F04C
tetradic
#4C74F0 #F04CC6 #F0C84C #4CF076
square
#4C74F0 #F04CC6 #F0C84C #4CF076
split-complementary
#4C74F0 #F0764C #C6F04C
monochromatic
#0F37B3 #1448EB #4C74F0 #84A0F5 #BDCCF9

Accessibility & contrast

On white

4.15
#4C74F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4C74F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C74F0
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C74F0#FFFFFF#000000##000000
##4C74F01.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2284F4
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c74f0;
/* rgb */ color: rgb(76, 116, 240);
/* oklch */ color: oklch(59.7% 0.192 267.0);
Tailwind
colors: {
  custom: {
    50: '#909bf6',
    500: '#4c74f0',
    950: '#000000',
  },
}
SCSS
$custom: #4c74f0;
$custom-light: #909bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c74f0",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 225.366,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59742,
    "c": 0.19169,
    "h": 267
  },
  "luminance": 0.20319
}

Semantic roles & 50–950 ramp

primary
#4C74F0
secondary
#EADBAE
accent
#AB04E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C74F0

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

Preview Lab → · Contrast checker → · Palette generator →

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