#4F52D6#4F52D6

#4F52D6 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.198 H 276.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4F52D6
RGBrgb(79, 82, 214)
HSLhsl(239, 62%, 57%)
HSVhsv(239, 63%, 84%)
CMYKcmyk(63.1%, 61.7%, 0%, 16.1%)
CIE-LABlab(42.08, 38.78, -68.32)
CIE-LCHlch(42.08, 78.56, 299.58°)
OKLaboklab(51.64% 0.0206 -0.1968)
OKLCHoklch(51.64% 0.198 276)
XYZxyz(18.3754, 12.5504, 65.0594)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52D6 #D6D34F
analogous
#4F95D6 #4F52D6 #904FD6
triadic
#4F52D6 #D64F52 #52D64F
tetradic
#4F52D6 #D64F95 #D6D34F #4FD690
square
#4F52D6 #D64F95 #D6D34F #4FD690
split-complementary
#4F52D6 #D6904F #95D64F
monochromatic
#20238A #2C2FBC #4F52D6 #8183E2 #B2B4ED

Accessibility & contrast

On white

5.98
#4F52D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4F52D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52D6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52D6#FFFFFF#000000##FFFFFF
##4F52D61.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f52d6;
/* rgb */ color: rgb(79, 82, 214);
/* oklch */ color: oklch(51.6% 0.198 276.0);
Tailwind
colors: {
  custom: {
    50: '#8f83e4',
    500: '#4f52d6',
    950: '#000000',
  },
}
SCSS
$custom: #4f52d6;
$custom-light: #8f83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52d6",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 238.667,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51644,
    "c": 0.19787,
    "h": 276
  },
  "luminance": 0.12552
}

Semantic roles & 50–950 ramp

primary
#4F52D6
secondary
#DCDAA5
accent
#E243E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F52D6

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

Preview Lab → · Contrast checker → · Palette generator →

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