#4F52AF#4F52AF

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

Color values

HEX#4F52AF
RGBrgb(79, 82, 175)
HSLhsl(238, 38%, 50%)
HSVhsv(238, 55%, 69%)
CMYKcmyk(54.9%, 53.1%, 0%, 31.4%)
CIE-LABlab(39.23, 25.87, -50.25)
CIE-LCHlch(39.23, 56.52, 297.24°)
OKLaboklab(48.63% 0.0206 -0.1436)
OKLCHoklch(48.63% 0.145 278.1)
XYZxyz(13.9772, 10.7911, 41.8955)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52AF #AFAC4F
analogous
#4F82AF #4F52AF #7C4FAF
triadic
#4F52AF #AF4F52 #52AF4F
tetradic
#4F52AF #AF4F82 #AFAC4F #4FAF7C
square
#4F52AF #AF4F82 #AFAC4F #4FAF7C
split-complementary
#4F52AF #AF7C4F #82AF4F
monochromatic
#292A5B #3C3E85 #4F52AF #797BC2 #A3A5D5

Accessibility & contrast

On white

6.65
#4F52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4F52AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52AF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52AF#FFFFFF#000000##FFFFFF
##4F52AF1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B2
Deuteranopia (green-blind)
#0C59AD
Tritanopia (blue-blind)
#216778
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f52af;
/* rgb */ color: rgb(79, 82, 175);
/* oklch */ color: oklch(48.6% 0.145 278.1);
Tailwind
colors: {
  custom: {
    50: '#8882c7',
    500: '#4f52af',
    950: '#000000',
  },
}
SCSS
$custom: #4f52af;
$custom-light: #8882c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52af",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 238.125,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4863,
    "c": 0.14511,
    "h": 278.1
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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