#4F74DC#4F74DC

#4F74DC is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.5% C 0.164 H 266.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4F74DC
RGBrgb(79, 116, 220)
HSLhsl(224, 67%, 59%)
HSVhsv(224, 64%, 86%)
CMYKcmyk(64.1%, 47.3%, 0%, 13.7%)
CIE-LABlab(51.06, 19.73, -57.20)
CIE-LCHlch(51.06, 60.51, 289.03°)
OKLaboklab(58.51% -0.0096 -0.1637)
OKLCHoklch(58.51% 0.164 266.6)
XYZxyz(22.3837, 19.3183, 70.2455)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74DC #DCB74F
analogous
#4FBBDC #4F74DC #704FDC
triadic
#4F74DC #DC4F74 #74DC4F
tetradic
#4F74DC #DC4FBB #DCB74F #4FDC70
square
#4F74DC #DC4FBB #DCB74F #4FDC70
split-complementary
#4F74DC #DC704F #BBDC4F
monochromatic
#1D3C93 #2751C6 #4F74DC #829CE6 #B5C5F0

Accessibility & contrast

On white

4.32
#4F74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4F74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74DC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74DC#FFFFFF#000000##000000
##4F74DC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F80E0
Deuteranopia (green-blind)
#2274DA
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f74dc;
/* rgb */ color: rgb(79, 116, 220);
/* oklch */ color: oklch(58.5% 0.164 266.6);
Tailwind
colors: {
  custom: {
    50: '#8e9be7',
    500: '#4f74dc',
    950: '#000000',
  },
}
SCSS
$custom: #4f74dc;
$custom-light: #8e9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74dc",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 224.255,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5851,
    "c": 0.16398,
    "h": 266.6
  },
  "luminance": 0.1932
}

Semantic roles & 50–950 ramp

primary
#4F74DC
secondary
#DFD1A8
accent
#BD3EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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