#4F74E8#4F74E8

#4F74E8 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.3% C 0.180 H 267.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4F74E8
RGBrgb(79, 116, 232)
HSLhsl(225, 77%, 61%)
HSVhsv(225, 66%, 91%)
CMYKcmyk(65.9%, 50%, 0%, 9%)
CIE-LABlab(51.81, 23.87, -62.74)
CIE-LCHlch(51.81, 67.13, 290.83°)
OKLaboklab(59.33% -0.0082 -0.18)
OKLCHoklch(59.33% 0.18 267.4)
XYZxyz(24.0303, 19.9770, 78.9178)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74E8 #E8C34F
analogous
#4FC0E8 #4F74E8 #764FE8
triadic
#4F74E8 #E84F74 #74E84F
tetradic
#4F74E8 #E84FC0 #E8C34F #4FE876
square
#4F74E8 #E84FC0 #E8C34F #4FE876
split-complementary
#4F74E8 #E8764F #C0E84F
monochromatic
#1639A7 #1D4BDD #4F74E8 #859FEF #BBC9F6

Accessibility & contrast

On white

4.20
#4F74E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4F74E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74E8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74E8#FFFFFF#000000##000000
##4F74E81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3183EC
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f74e8;
/* rgb */ color: rgb(79, 116, 232);
/* oklch */ color: oklch(59.3% 0.180 267.4);
Tailwind
colors: {
  custom: {
    50: '#909bf0',
    500: '#4f74e8',
    950: '#000000',
  },
}
SCSS
$custom: #4f74e8;
$custom-light: #909bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74e8",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 225.49,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59325,
    "c": 0.18018,
    "h": 267.4
  },
  "luminance": 0.19979
}

Semantic roles & 50–950 ramp

primary
#4F74E8
secondary
#E6D8AD
accent
#A80CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F74E8

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

Preview Lab → · Contrast checker → · Palette generator →

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