#4F7AEC#4F7AEC

#4F7AEC is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.8% C 0.178 H 265.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4F7AEC
RGBrgb(79, 122, 236)
HSLhsl(224, 81%, 62%)
HSVhsv(224, 67%, 93%)
CMYKcmyk(66.5%, 48.3%, 0%, 7.5%)
CIE-LABlab(53.64, 21.55, -62.03)
CIE-LCHlch(53.64, 65.67, 289.16°)
OKLaboklab(60.8% -0.0131 -0.1778)
OKLCHoklch(60.8% 0.178 265.8)
XYZxyz(25.3190, 21.6350, 82.1823)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AEC #ECC14F
analogous
#4FC9EC #4F7AEC #734FEC
triadic
#4F7AEC #EC4F7A #7AEC4F
tetradic
#4F7AEC #EC4FC9 #ECC14F #4FEC73
square
#4F7AEC #EC4FC9 #ECC14F #4FEC73
split-complementary
#4F7AEC #EC734F #C9EC4F
monochromatic
#133DAE #1951E5 #4F7AEC #86A4F2 #BDCDF8

Accessibility & contrast

On white

3.94
#4F7AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4F7AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7AEC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7AEC#FFFFFF#000000##000000
##4F7AEC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C88F0
Deuteranopia (green-blind)
#1079EA
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7aec;
/* rgb */ color: rgb(79, 122, 236);
/* oklch */ color: oklch(60.8% 0.178 265.8);
Tailwind
colors: {
  custom: {
    50: '#909ff3',
    500: '#4f7aec',
    950: '#000000',
  },
}
SCSS
$custom: #4f7aec;
$custom-light: #909ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7aec",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 223.567,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60795,
    "c": 0.17831,
    "h": 265.8
  },
  "luminance": 0.21637
}

Semantic roles & 50–950 ramp

primary
#4F7AEC
secondary
#E8D9AE
accent
#A309DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4F7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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