#4F74EB#4F74EB

#4F74EB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.5% C 0.184 H 267.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4F74EB
RGBrgb(79, 116, 235)
HSLhsl(226, 80%, 62%)
HSVhsv(226, 66%, 92%)
CMYKcmyk(66.4%, 50.6%, 0%, 7.8%)
CIE-LABlab(52.01, 24.91, -64.10)
CIE-LCHlch(52.01, 68.77, 291.24°)
OKLaboklab(59.53% -0.0079 -0.184)
OKLCHoklch(59.53% 0.184 267.5)
XYZxyz(24.4601, 20.1489, 81.1812)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74EB #EBC64F
analogous
#4FC2EB #4F74EB #784FEB
triadic
#4F74EB #EB4F74 #74EB4F
tetradic
#4F74EB #EB4FC2 #EBC64F #4FEB78
square
#4F74EB #EB4FC2 #EBC64F #4FEB78
split-complementary
#4F74EB #EB784F #C2EB4F
monochromatic
#1438AC #1A4AE3 #4F74EB #869FF1 #BDCBF7

Accessibility & contrast

On white

4.17
#4F74EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4F74EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74EB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74EB#FFFFFF#000000##000000
##4F74EB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C83EF
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f74eb;
/* rgb */ color: rgb(79, 116, 235);
/* oklch */ color: oklch(59.5% 0.184 267.5);
Tailwind
colors: {
  custom: {
    50: '#909bf2',
    500: '#4f74eb',
    950: '#000000',
  },
}
SCSS
$custom: #4f74eb;
$custom-light: #909bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74eb",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 225.769,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59534,
    "c": 0.18419,
    "h": 267.5
  },
  "luminance": 0.20151
}

Semantic roles & 50–950 ramp

primary
#4F74EB
secondary
#E8DAAE
accent
#AA0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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