#4F7CE6#4F7CE6

#4F7CE6 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.8% C 0.168 H 264.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4F7CE6
RGBrgb(79, 124, 230)
HSLhsl(222, 75%, 61%)
HSVhsv(222, 66%, 90%)
CMYKcmyk(65.7%, 46.1%, 0%, 9.8%)
CIE-LABlab(53.80, 18.25, -58.42)
CIE-LCHlch(53.80, 61.20, 287.35°)
OKLaboklab(60.8% -0.0158 -0.1672)
OKLCHoklch(60.8% 0.168 264.6)
XYZxyz(24.7100, 21.7884, 77.7509)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CE6 #E6B94F
analogous
#4FC7E6 #4F7CE6 #6D4FE6
triadic
#4F7CE6 #E64F7C #7CE64F
tetradic
#4F7CE6 #E64FC7 #E6B94F #4FE66D
square
#4F7CE6 #E64FC7 #E6B94F #4FE66D
split-complementary
#4F7CE6 #E66D4F #C7E64F
monochromatic
#1741A3 #1F56D9 #4F7CE6 #85A4EE #BACCF5

Accessibility & contrast

On white

3.92
#4F7CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4F7CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CE6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CE6#FFFFFF#000000##000000
##4F7CE61.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4688EA
Deuteranopia (green-blind)
#297AE4
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f7ce6;
/* rgb */ color: rgb(79, 124, 230);
/* oklch */ color: oklch(60.8% 0.168 264.6);
Tailwind
colors: {
  custom: {
    50: '#8fa1ee',
    500: '#4f7ce6',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ce6;
$custom-light: #8fa1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ce6",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 230
  },
  "hsl": {
    "h": 222.119,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60803,
    "c": 0.1679,
    "h": 264.6
  },
  "luminance": 0.21791
}

Semantic roles & 50–950 ramp

primary
#4F7CE6
secondary
#E5D4AC
accent
#9B0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F7CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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