#4F7CE2#4F7CE2

#4F7CE2 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.5% C 0.163 H 264.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4F7CE2
RGBrgb(79, 124, 226)
HSLhsl(222, 72%, 60%)
HSVhsv(222, 65%, 89%)
CMYKcmyk(65%, 45.1%, 0%, 11.4%)
CIE-LABlab(53.56, 16.86, -56.56)
CIE-LCHlch(53.56, 59.02, 286.60°)
OKLaboklab(60.54% -0.0164 -0.1617)
OKLCHoklch(60.54% 0.163 264.2)
XYZxyz(24.1548, 21.5663, 74.8265)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7CE2 #E2B54F
analogous
#4FC5E2 #4F7CE2 #6C4FE2
triadic
#4F7CE2 #E24F7C #7CE24F
tetradic
#4F7CE2 #E24FC5 #E2B54F #4FE26C
square
#4F7CE2 #E24FC5 #E2B54F #4FE26C
split-complementary
#4F7CE2 #E26C4F #C5E24F
monochromatic
#1A429D #2258D1 #4F7CE2 #84A3EB #B8CAF3

Accessibility & contrast

On white

3.95
#4F7CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4F7CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F7CE2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7CE2#FFFFFF#000000##000000
##4F7CE21.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A87E6
Deuteranopia (green-blind)
#2F7AE0
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f7ce2;
/* rgb */ color: rgb(79, 124, 226);
/* oklch */ color: oklch(60.5% 0.163 264.2);
Tailwind
colors: {
  custom: {
    50: '#8ea1ec',
    500: '#4f7ce2',
    950: '#000000',
  },
}
SCSS
$custom: #4f7ce2;
$custom-light: #8ea1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7ce2",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 221.633,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60544,
    "c": 0.16253,
    "h": 264.2
  },
  "luminance": 0.21569
}

Semantic roles & 50–950 ramp

primary
#4F7CE2
secondary
#E3D1AA
accent
#B739EE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4F7CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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