#4F52D0#4F52D0

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

Color values

HEX#4F52D0
RGBrgb(79, 82, 208)
HSLhsl(239, 58%, 56%)
HSVhsv(239, 62%, 82%)
CMYKcmyk(62%, 60.6%, 0%, 18.4%)
CIE-LABlab(41.61, 36.80, -65.64)
CIE-LCHlch(41.61, 75.25, 299.28°)
OKLaboklab(51.15% 0.0209 -0.1889)
OKLCHoklch(51.15% 0.19 276.3)
XYZxyz(17.6232, 12.2495, 61.0980)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52D0 #D0CD4F
analogous
#4F93D0 #4F52D0 #8D4FD0
triadic
#4F52D0 #D04F52 #52D04F
tetradic
#4F52D0 #D04F93 #D0CD4F #4FD08D
square
#4F52D0 #D04F93 #D0CD4F #4FD08D
split-complementary
#4F52D0 #D08D4F #93D04F
monochromatic
#232582 #3033B2 #4F52D0 #7F81DD #B0B1EA

Accessibility & contrast

On white

6.09
#4F52D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4F52D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52D0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52D0#FFFFFF#000000##FFFFFF
##4F52D01.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f52d0;
/* rgb */ color: rgb(79, 82, 208);
/* oklch */ color: oklch(51.2% 0.190 276.3);
Tailwind
colors: {
  custom: {
    50: '#8e83df',
    500: '#4f52d0',
    950: '#000000',
  },
}
SCSS
$custom: #4f52d0;
$custom-light: #8e83df;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52d0",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 208
  },
  "hsl": {
    "h": 238.605,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51154,
    "c": 0.19005,
    "h": 276.3
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

primary
#4F52D0
secondary
#D8D7A3
accent
#DD47E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F52D0

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

Preview Lab → · Contrast checker → · Palette generator →

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