#4F52D4#4F52D4

#4F52D4 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.5% C 0.195 H 276.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4F52D4
RGBrgb(79, 82, 212)
HSLhsl(239, 61%, 57%)
HSVhsv(239, 63%, 83%)
CMYKcmyk(62.7%, 61.3%, 0%, 16.9%)
CIE-LABlab(41.92, 38.12, -67.43)
CIE-LCHlch(41.92, 77.46, 299.48°)
OKLaboklab(51.48% 0.0207 -0.1942)
OKLCHoklch(51.48% 0.195 276.1)
XYZxyz(18.1215, 12.4488, 63.7225)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52D4 #D4D14F
analogous
#4F94D4 #4F52D4 #8F4FD4
triadic
#4F52D4 #D44F52 #52D44F
tetradic
#4F52D4 #D44F94 #D4D14F #4FD48F
square
#4F52D4 #D44F94 #D4D14F #4FD48F
split-complementary
#4F52D4 #D48F4F #94D44F
monochromatic
#212387 #2D30B9 #4F52D4 #8082E0 #B1B3EC

Accessibility & contrast

On white

6.02
#4F52D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4F52D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52D4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52D4#FFFFFF#000000##FFFFFF
##4F52D41.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#005DD1
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f52d4;
/* rgb */ color: rgb(79, 82, 212);
/* oklch */ color: oklch(51.5% 0.195 276.1);
Tailwind
colors: {
  custom: {
    50: '#8e83e2',
    500: '#4f52d4',
    950: '#000000',
  },
}
SCSS
$custom: #4f52d4;
$custom-light: #8e83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52d4",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 238.647,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5148,
    "c": 0.19527,
    "h": 276.1
  },
  "luminance": 0.1245
}

Semantic roles & 50–950 ramp

primary
#4F52D4
secondary
#DAD9A4
accent
#E044E4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #4F52D4

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

Preview Lab → · Contrast checker → · Palette generator →

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