#4F74EC#4F74EC

#4F74EC is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.6% C 0.186 H 267.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4F74EC
RGBrgb(79, 116, 236)
HSLhsl(226, 81%, 62%)
HSVhsv(226, 67%, 93%)
CMYKcmyk(66.5%, 50.8%, 0%, 7.5%)
CIE-LABlab(52.07, 25.26, -64.56)
CIE-LCHlch(52.07, 69.32, 291.37°)
OKLaboklab(59.6% -0.0078 -0.1853)
OKLCHoklch(59.6% 0.186 267.6)
XYZxyz(24.6049, 20.2068, 81.9442)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F74EC #ECC74F
analogous
#4FC3EC #4F74EC #794FEC
triadic
#4F74EC #EC4F74 #74EC4F
tetradic
#4F74EC #EC4FC3 #ECC74F #4FEC79
square
#4F74EC #EC4FC3 #ECC74F #4FEC79
split-complementary
#4F74EC #EC794F #C3EC4F
monochromatic
#1337AE #1949E5 #4F74EC #86A0F2 #BDCBF8

Accessibility & contrast

On white

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

On black

5.04
#4F74EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F74EC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F74EC#FFFFFF#000000##000000
##4F74EC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B84F0
Deuteranopia (green-blind)
#0075EA
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f74ec;
/* rgb */ color: rgb(79, 116, 236);
/* oklch */ color: oklch(59.6% 0.186 267.6);
Tailwind
colors: {
  custom: {
    50: '#919bf3',
    500: '#4f74ec',
    950: '#000000',
  },
}
SCSS
$custom: #4f74ec;
$custom-light: #919bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f74ec",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 225.86,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59604,
    "c": 0.18552,
    "h": 267.6
  },
  "luminance": 0.20209
}

Semantic roles & 50–950 ramp

primary
#4F74EC
secondary
#E8DBAE
accent
#AB09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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