#4F52D1#4F52D1

#4F52D1 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.191 H 276.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4F52D1
RGBrgb(79, 82, 209)
HSLhsl(239, 59%, 56%)
HSVhsv(239, 62%, 82%)
CMYKcmyk(62.2%, 60.8%, 0%, 18%)
CIE-LABlab(41.69, 37.13, -66.08)
CIE-LCHlch(41.69, 75.80, 299.33°)
OKLaboklab(51.24% 0.0208 -0.1902)
OKLCHoklch(51.24% 0.191 276.3)
XYZxyz(17.7466, 12.2989, 61.7480)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52D1 #D1CE4F
analogous
#4F93D1 #4F52D1 #8D4FD1
triadic
#4F52D1 #D14F52 #52D14F
tetradic
#4F52D1 #D14F93 #D1CE4F #4FD18D
square
#4F52D1 #D14F93 #D1CE4F #4FD18D
split-complementary
#4F52D1 #D18D4F #93D14F
monochromatic
#222583 #2F32B4 #4F52D1 #8082DE #B0B1EA

Accessibility & contrast

On white

6.07
#4F52D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4F52D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52D1
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52D1#FFFFFF#000000##FFFFFF
##4F52D11.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#005DCE
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f52d1;
/* rgb */ color: rgb(79, 82, 209);
/* oklch */ color: oklch(51.2% 0.191 276.3);
Tailwind
colors: {
  custom: {
    50: '#8e83e0',
    500: '#4f52d1',
    950: '#000000',
  },
}
SCSS
$custom: #4f52d1;
$custom-light: #8e83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52d1",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 238.615,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51235,
    "c": 0.19136,
    "h": 276.3
  },
  "luminance": 0.123
}

Semantic roles & 50–950 ramp

primary
#4F52D1
secondary
#D9D7A3
accent
#DE46E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F52D1

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

Preview Lab → · Contrast checker → · Palette generator →

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