#4F52D2#4F52D2

#4F52D2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.3% C 0.193 H 276.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4F52D2
RGBrgb(79, 82, 210)
HSLhsl(239, 59%, 57%)
HSVhsv(239, 62%, 82%)
CMYKcmyk(62.4%, 61%, 0%, 17.6%)
CIE-LABlab(41.76, 37.46, -66.53)
CIE-LCHlch(41.76, 76.35, 299.38°)
OKLaboklab(51.32% 0.0208 -0.1915)
OKLCHoklch(51.32% 0.193 276.2)
XYZxyz(17.8708, 12.3486, 62.4020)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52D2 #D2CF4F
analogous
#4F94D2 #4F52D2 #8E4FD2
triadic
#4F52D2 #D24F52 #52D24F
tetradic
#4F52D2 #D24F94 #D2CF4F #4FD28E
square
#4F52D2 #D24F94 #D2CF4F #4FD28E
split-complementary
#4F52D2 #D28E4F #94D24F
monochromatic
#222485 #2E31B5 #4F52D2 #8082DE #B0B2EB

Accessibility & contrast

On white

6.05
#4F52D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4F52D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52D2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52D2#FFFFFF#000000##FFFFFF
##4F52D21.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f52d2;
/* rgb */ color: rgb(79, 82, 210);
/* oklch */ color: oklch(51.3% 0.193 276.2);
Tailwind
colors: {
  custom: {
    50: '#8e83e1',
    500: '#4f52d2',
    950: '#000000',
  },
}
SCSS
$custom: #4f52d2;
$custom-light: #8e83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52d2",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 238.626,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51316,
    "c": 0.19267,
    "h": 276.2
  },
  "luminance": 0.1235
}

Semantic roles & 50–950 ramp

primary
#4F52D2
secondary
#D9D8A4
accent
#DF45E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4F52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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