#4F52AC#4F52AC

#4F52AC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.141 H 278.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4F52AC
RGBrgb(79, 82, 172)
HSLhsl(238, 37%, 49%)
HSVhsv(238, 54%, 67%)
CMYKcmyk(54.1%, 52.3%, 0%, 32.5%)
CIE-LABlab(39.03, 24.88, -48.80)
CIE-LCHlch(39.03, 54.77, 297.02°)
OKLaboklab(48.42% 0.0204 -0.1394)
OKLCHoklch(48.42% 0.141 278.3)
XYZxyz(13.6858, 10.6745, 40.3610)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52AC #ACA94F
analogous
#4F81AC #4F52AC #7B4FAC
triadic
#4F52AC #AC4F52 #52AC4F
tetradic
#4F52AC #AC4F81 #ACA94F #4FAC7B
square
#4F52AC #AC4F81 #ACA94F #4FAC7B
split-complementary
#4F52AC #AC7B4F #81AC4F
monochromatic
#282A58 #3C3E82 #4F52AC #777AC1 #A1A3D4

Accessibility & contrast

On white

6.70
#4F52AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4F52AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52AC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52AC#FFFFFF#000000##FFFFFF
##4F52AC1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#1558AA
Tritanopia (blue-blind)
#246677
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f52ac;
/* rgb */ color: rgb(79, 82, 172);
/* oklch */ color: oklch(48.4% 0.141 278.3);
Tailwind
colors: {
  custom: {
    50: '#8882c5',
    500: '#4f52ac',
    950: '#000000',
  },
}
SCSS
$custom: #4f52ac;
$custom-light: #8882c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52ac",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 238.065,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48416,
    "c": 0.14085,
    "h": 278.3
  },
  "luminance": 0.10675
}

Semantic roles & 50–950 ramp

primary
#4F52AC
secondary
#C1C096
accent
#C95BCD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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