#4F74C7#4F74C7

#4F74C7 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.2% C 0.135 H 264.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4F74C7
RGBrgb(79, 116, 199)
HSLhsl(222, 52%, 55%)
HSVhsv(222, 60%, 78%)
CMYKcmyk(60.3%, 41.7%, 0%, 22%)
CIE-LABlab(49.83, 12.54, -47.23)
CIE-LCHlch(49.83, 48.86, 284.87°)
OKLaboklab(57.17% -0.0131 -0.1344)
OKLCHoklch(57.17% 0.135 264.4)
XYZxyz(19.7751, 18.2749, 56.5071)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74C7 #C7A24F
analogous
#4FB0C7 #4F74C7 #664FC7
triadic
#4F74C7 #C74F74 #74C74F
tetradic
#4F74C7 #C74FB0 #C7A24F #4FC766
square
#4F74C7 #C74FB0 #C7A24F #4FC766
split-complementary
#4F74C7 #C7664F #B0C74F
monochromatic
#263E76 #3457A4 #4F74C7 #7D99D6 #ACBDE5

Accessibility & contrast

On white

4.51
#4F74C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4F74C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74C7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74C7#FFFFFF#000000##000000
##4F74C71.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7CCA
Deuteranopia (green-blind)
#3E71C5
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f74c7;
/* rgb */ color: rgb(79, 116, 199);
/* oklch */ color: oklch(57.2% 0.135 264.4);
Tailwind
colors: {
  custom: {
    50: '#8a9bd8',
    500: '#4f74c7',
    950: '#000000',
  },
}
SCSS
$custom: #4f74c7;
$custom-light: #8a9bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74c7",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 199
  },
  "hsl": {
    "h": 221.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57169,
    "c": 0.13504,
    "h": 264.4
  },
  "luminance": 0.18277
}

Semantic roles & 50–950 ramp

primary
#4F74C7
secondary
#D2C3A0
accent
#AF4DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #4F74C7

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

Preview Lab → · Contrast checker → · Palette generator →

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