#4F74E5#4F74E5

#4F74E5 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.1% C 0.176 H 267.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4F74E5
RGBrgb(79, 116, 229)
HSLhsl(225, 74%, 60%)
HSVhsv(225, 66%, 90%)
CMYKcmyk(65.5%, 49.3%, 0%, 10.2%)
CIE-LABlab(51.62, 22.84, -61.36)
CIE-LCHlch(51.62, 65.47, 290.41°)
OKLaboklab(59.12% -0.0085 -0.1759)
OKLCHoklch(59.12% 0.176 267.2)
XYZxyz(23.6078, 19.8080, 76.6927)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74E5 #E5C04F
analogous
#4FBFE5 #4F74E5 #754FE5
triadic
#4F74E5 #E54F74 #74E54F
tetradic
#4F74E5 #E54FBF #E5C04F #4FE575
square
#4F74E5 #E54FBF #E5C04F #4FE575
split-complementary
#4F74E5 #E5754F #BFE54F
monochromatic
#183AA2 #204DD7 #4F74E5 #849EED #BAC8F5

Accessibility & contrast

On white

4.23
#4F74E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4F74E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74E5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74E5#FFFFFF#000000##000000
##4F74E51.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3582E9
Deuteranopia (green-blind)
#0175E3
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f74e5;
/* rgb */ color: rgb(79, 116, 229);
/* oklch */ color: oklch(59.1% 0.176 267.2);
Tailwind
colors: {
  custom: {
    50: '#8f9bee',
    500: '#4f74e5',
    950: '#000000',
  },
}
SCSS
$custom: #4f74e5;
$custom-light: #8f9bee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74e5",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 229
  },
  "hsl": {
    "h": 225.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59118,
    "c": 0.17616,
    "h": 267.2
  },
  "luminance": 0.1981
}

Semantic roles & 50–950 ramp

primary
#4F74E5
secondary
#E5D6AB
accent
#A50FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F74E5

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

Preview Lab → · Contrast checker → · Palette generator →

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