#4F52AE#4F52AE

#4F52AE is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.144 H 278.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4F52AE
RGBrgb(79, 82, 174)
HSLhsl(238, 38%, 50%)
HSVhsv(238, 55%, 68%)
CMYKcmyk(54.6%, 52.9%, 0%, 31.8%)
CIE-LABlab(39.16, 25.54, -49.77)
CIE-LCHlch(39.16, 55.94, 297.17°)
OKLaboklab(48.56% 0.0205 -0.1422)
OKLCHoklch(48.56% 0.144 278.2)
XYZxyz(13.8793, 10.7520, 41.3802)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52AE #AEAB4F
analogous
#4F82AE #4F52AE #7C4FAE
triadic
#4F52AE #AE4F52 #52AE4F
tetradic
#4F52AE #AE4F82 #AEAB4F #4FAE7C
square
#4F52AE #AE4F82 #AEAB4F #4FAE7C
split-complementary
#4F52AE #AE7C4F #82AE4F
monochromatic
#292A5A #3C3E84 #4F52AE #787BC2 #A2A4D5

Accessibility & contrast

On white

6.67
#4F52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4F52AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52AE
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52AE#FFFFFF#000000##FFFFFF
##4F52AE1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B1
Deuteranopia (green-blind)
#0F58AC
Tritanopia (blue-blind)
#226778
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f52ae;
/* rgb */ color: rgb(79, 82, 174);
/* oklch */ color: oklch(48.6% 0.144 278.2);
Tailwind
colors: {
  custom: {
    50: '#8882c7',
    500: '#4f52ae',
    950: '#000000',
  },
}
SCSS
$custom: #4f52ae;
$custom-light: #8882c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52ae",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 238.105,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48558,
    "c": 0.1437,
    "h": 278.2
  },
  "luminance": 0.10753
}

Semantic roles & 50–950 ramp

primary
#4F52AE
secondary
#C2C197
accent
#CA5ACE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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