#4F74E7#4F74E7

#4F74E7 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.3% C 0.179 H 267.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4F74E7
RGBrgb(79, 116, 231)
HSLhsl(225, 76%, 61%)
HSVhsv(225, 66%, 91%)
CMYKcmyk(65.8%, 49.8%, 0%, 9.4%)
CIE-LABlab(51.75, 23.53, -62.28)
CIE-LCHlch(51.75, 66.58, 290.69°)
OKLaboklab(59.26% -0.0083 -0.1786)
OKLCHoklch(59.26% 0.179 267.3)
XYZxyz(23.8887, 19.9203, 78.1719)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74E7 #E7C24F
analogous
#4FC0E7 #4F74E7 #764FE7
triadic
#4F74E7 #E74F74 #74E74F
tetradic
#4F74E7 #E74FC0 #E7C24F #4FE776
square
#4F74E7 #E74FC0 #E7C24F #4FE776
split-complementary
#4F74E7 #E7764F #C0E74F
monochromatic
#1739A5 #1E4CDB #4F74E7 #859FEE #BBC9F6

Accessibility & contrast

On white

4.21
#4F74E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4F74E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74E7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74E7#FFFFFF#000000##000000
##4F74E71.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3283EB
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f74e7;
/* rgb */ color: rgb(79, 116, 231);
/* oklch */ color: oklch(59.3% 0.179 267.3);
Tailwind
colors: {
  custom: {
    50: '#909bef',
    500: '#4f74e7',
    950: '#000000',
  },
}
SCSS
$custom: #4f74e7;
$custom-light: #909bef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74e7",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 225.395,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59255,
    "c": 0.17884,
    "h": 267.3
  },
  "luminance": 0.19923
}

Semantic roles & 50–950 ramp

primary
#4F74E7
secondary
#E6D8AC
accent
#A70DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F74E7

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

Preview Lab → · Contrast checker → · Palette generator →

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