#4F52DC#4F52DC

#4F52DC is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.1% C 0.206 H 275.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4F52DC
RGBrgb(79, 82, 220)
HSLhsl(239, 67%, 59%)
HSVhsv(239, 64%, 86%)
CMYKcmyk(64.1%, 62.7%, 0%, 13.7%)
CIE-LABlab(42.56, 40.76, -70.97)
CIE-LCHlch(42.56, 81.84, 299.87°)
OKLaboklab(52.14% 0.0203 -0.2046)
OKLCHoklch(52.14% 0.206 275.7)
XYZxyz(19.1558, 12.8625, 69.1695)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52DC #DCD94F
analogous
#4F98DC #4F52DC #924FDC
triadic
#4F52DC #DC4F52 #52DC4F
tetradic
#4F52DC #DC4F98 #DCD94F #4FDC92
square
#4F52DC #DC4F98 #DCD94F #4FDC92
split-complementary
#4F52DC #DC924F #98DC4F
monochromatic
#1D2093 #272BC6 #4F52DC #8284E6 #B5B6F0

Accessibility & contrast

On white

5.88
#4F52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4F52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52DC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52DC#FFFFFF#000000##FFFFFF
##4F52DC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f52dc;
/* rgb */ color: rgb(79, 82, 220);
/* oklch */ color: oklch(52.1% 0.206 275.7);
Tailwind
colors: {
  custom: {
    50: '#9083e8',
    500: '#4f52dc',
    950: '#000000',
  },
}
SCSS
$custom: #4f52dc;
$custom-light: #9083e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52dc",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 238.723,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52143,
    "c": 0.20557,
    "h": 275.7
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

primary
#4F52DC
secondary
#DFDEA8
accent
#E63EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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