#4F7AE6#4F7AE6

#4F7AE6 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.4% C 0.170 H 265.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4F7AE6
RGBrgb(79, 122, 230)
HSLhsl(223, 75%, 61%)
HSVhsv(223, 66%, 90%)
CMYKcmyk(65.7%, 47%, 0%, 9.8%)
CIE-LABlab(53.27, 19.48, -59.27)
CIE-LCHlch(53.27, 62.39, 288.19°)
OKLaboklab(60.39% -0.0139 -0.1697)
OKLCHoklch(60.39% 0.17 265.3)
XYZxyz(24.4619, 21.2922, 77.6682)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7AE6 #E6BB4F
analogous
#4FC5E6 #4F7AE6 #6F4FE6
triadic
#4F7AE6 #E64F7A #7AE64F
tetradic
#4F7AE6 #E64FC5 #E6BB4F #4FE66F
square
#4F7AE6 #E64FC5 #E6BB4F #4FE66F
split-complementary
#4F7AE6 #E66F4F #C5E64F
monochromatic
#173FA3 #1F54D9 #4F7AE6 #85A2EE #BACBF5

Accessibility & contrast

On white

3.99
#4F7AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4F7AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7AE6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7AE6#FFFFFF#000000##000000
##4F7AE61.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4287EA
Deuteranopia (green-blind)
#2279E4
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f7ae6;
/* rgb */ color: rgb(79, 122, 230);
/* oklch */ color: oklch(60.4% 0.170 265.3);
Tailwind
colors: {
  custom: {
    50: '#8f9fee',
    500: '#4f7ae6',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ae6;
$custom-light: #8f9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ae6",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 230
  },
  "hsl": {
    "h": 222.914,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60394,
    "c": 0.17028,
    "h": 265.3
  },
  "luminance": 0.21295
}

Semantic roles & 50–950 ramp

primary
#4F7AE6
secondary
#E5D5AC
accent
#9E0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F7AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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