#4F74D6#4F74D6

#4F74D6 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.1% C 0.156 H 266.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4F74D6
RGBrgb(79, 116, 214)
HSLhsl(224, 62%, 57%)
HSVhsv(224, 63%, 84%)
CMYKcmyk(63.1%, 45.8%, 0%, 16.1%)
CIE-LABlab(50.69, 17.66, -54.39)
CIE-LCHlch(50.69, 57.18, 287.99°)
OKLaboklab(58.12% -0.0105 -0.1554)
OKLCHoklch(58.12% 0.156 266.1)
XYZxyz(21.6033, 19.0061, 66.1354)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74D6 #D6B14F
analogous
#4FB7D6 #4F74D6 #6E4FD6
triadic
#4F74D6 #D64F74 #74D64F
tetradic
#4F74D6 #D64FB7 #D6B14F #4FD66E
square
#4F74D6 #D64FB7 #D6B14F #4FD66E
split-complementary
#4F74D6 #D66E4F #B7D64F
monochromatic
#203D8A #2C53BC #4F74D6 #819BE2 #B2C2ED

Accessibility & contrast

On white

4.37
#4F74D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4F74D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74D6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74D6#FFFFFF#000000##000000
##4F74D61.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#447FDA
Deuteranopia (green-blind)
#2D73D4
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f74d6;
/* rgb */ color: rgb(79, 116, 214);
/* oklch */ color: oklch(58.1% 0.156 266.1);
Tailwind
colors: {
  custom: {
    50: '#8d9be3',
    500: '#4f74d6',
    950: '#000000',
  },
}
SCSS
$custom: #4f74d6;
$custom-light: #8d9be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74d6",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 214
  },
  "hsl": {
    "h": 223.556,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58115,
    "c": 0.15578,
    "h": 266.1
  },
  "luminance": 0.19008
}

Semantic roles & 50–950 ramp

primary
#4F74D6
secondary
#DCCDA5
accent
#B943E5
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #4F74D6

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

Preview Lab → · Contrast checker → · Palette generator →

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