#4F52D7#4F52D7

#4F52D7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.7% C 0.199 H 275.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4F52D7
RGBrgb(79, 82, 215)
HSLhsl(239, 63%, 58%)
HSVhsv(239, 63%, 84%)
CMYKcmyk(63.3%, 61.9%, 0%, 15.7%)
CIE-LABlab(42.16, 39.11, -68.76)
CIE-LCHlch(42.16, 79.11, 299.63°)
OKLaboklab(51.73% 0.0206 -0.1981)
OKLCHoklch(51.73% 0.199 275.9)
XYZxyz(18.5035, 12.6016, 65.7341)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52D7 #D7D44F
analogous
#4F96D7 #4F52D7 #904FD7
triadic
#4F52D7 #D74F52 #52D74F
tetradic
#4F52D7 #D74F96 #D7D44F #4FD790
square
#4F52D7 #D74F96 #D7D44F #4FD790
split-complementary
#4F52D7 #D7904F #96D74F
monochromatic
#20228C #2B2EBE #4F52D7 #8183E2 #B3B4EE

Accessibility & contrast

On white

5.96
#4F52D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4F52D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52D7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52D7#FFFFFF#000000##FFFFFF
##4F52D71.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f52d7;
/* rgb */ color: rgb(79, 82, 215);
/* oklch */ color: oklch(51.7% 0.199 275.9);
Tailwind
colors: {
  custom: {
    50: '#8f83e4',
    500: '#4f52d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f52d7;
$custom-light: #8f83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52d7",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 238.676,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51727,
    "c": 0.19915,
    "h": 275.9
  },
  "luminance": 0.12603
}

Semantic roles & 50–950 ramp

primary
#4F52D7
secondary
#DCDBA6
accent
#E242E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F52D7

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

Preview Lab → · Contrast checker → · Palette generator →

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