#4F52CC#4F52CC

#4F52CC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.185 H 276.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4F52CC
RGBrgb(79, 82, 204)
HSLhsl(239, 55%, 55%)
HSVhsv(239, 61%, 80%)
CMYKcmyk(61.3%, 59.8%, 0%, 20%)
CIE-LABlab(41.30, 35.47, -63.83)
CIE-LCHlch(41.30, 73.02, 299.06°)
OKLaboklab(50.83% 0.021 -0.1836)
OKLCHoklch(50.83% 0.185 276.5)
XYZxyz(17.1373, 12.0551, 58.5388)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52CC #CCC94F
analogous
#4F90CC #4F52CC #8A4FCC
triadic
#4F52CC #CC4F52 #52CC4F
tetradic
#4F52CC #CC4F90 #CCC94F #4FCC8A
square
#4F52CC #CC4F90 #CCC94F #4FCC8A
split-complementary
#4F52CC #CC8A4F #90CC4F
monochromatic
#24267D #3235AC #4F52CC #7E81DA #AEAFE7

Accessibility & contrast

On white

6.16
#4F52CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4F52CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52CC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52CC#FFFFFF#000000##FFFFFF
##4F52CC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f52cc;
/* rgb */ color: rgb(79, 82, 204);
/* oklch */ color: oklch(50.8% 0.185 276.5);
Tailwind
colors: {
  custom: {
    50: '#8d83dc',
    500: '#4f52cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f52cc;
$custom-light: #8d83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52cc",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 238.56,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50832,
    "c": 0.18479,
    "h": 276.5
  },
  "luminance": 0.12056
}

Semantic roles & 50–950 ramp

primary
#4F52CC
secondary
#D5D4A1
accent
#DB49DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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