#4C74F2#4C74F2

#4C74F2 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.9% C 0.194 H 267.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4C74F2
RGBrgb(76, 116, 242)
HSLhsl(226, 86%, 62%)
HSVhsv(226, 69%, 95%)
CMYKcmyk(68.6%, 52.1%, 0%, 5.1%)
CIE-LABlab(52.33, 26.90, -67.50)
CIE-LCHlch(52.33, 72.66, 291.73°)
OKLaboklab(59.89% -0.0099 -0.1941)
OKLCHoklch(59.89% 0.194 267.1)
XYZxyz(25.2473, 20.4356, 86.6011)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C74F2 #F2CA4C
analogous
#4CC7F2 #4C74F2 #774CF2
triadic
#4C74F2 #F24C74 #74F24C
tetradic
#4C74F2 #F24CC7 #F2CA4C #4CF277
square
#4C74F2 #F24CC7 #F2CA4C #4CF277
split-complementary
#4C74F2 #F2774C #C7F24C
monochromatic
#0D36B6 #1348EE #4C74F2 #85A0F6 #BECDFA

Accessibility & contrast

On white

4.13
#4C74F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4C74F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C74F2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C74F2#FFFFFF#000000##000000
##4C74F21.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E85F6
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#0092A8
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c74f2;
/* rgb */ color: rgb(76, 116, 242);
/* oklch */ color: oklch(59.9% 0.194 267.1);
Tailwind
colors: {
  custom: {
    50: '#909bf7',
    500: '#4c74f2',
    950: '#000000',
  },
}
SCSS
$custom: #4c74f2;
$custom-light: #909bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c74f2",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 225.542,
    "s": 86.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59886,
    "c": 0.19432,
    "h": 267.1
  },
  "luminance": 0.20438
}

Semantic roles & 50–950 ramp

primary
#4C74F2
secondary
#EBDDAF
accent
#AD03E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C74F2

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

Preview Lab → · Contrast checker → · Palette generator →

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