#4F519D#4F519D

#4F519D is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.121 H 279.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4F519D
RGBrgb(79, 81, 157)
HSLhsl(238, 33%, 46%)
HSVhsv(238, 50%, 62%)
CMYKcmyk(49.7%, 48.4%, 0%, 38.4%)
CIE-LABlab(37.81, 20.64, -41.80)
CIE-LCHlch(37.81, 46.62, 296.27°)
OKLaboklab(47.19% 0.0201 -0.1188)
OKLCHoklch(47.19% 0.121 279.6)
XYZxyz(12.2508, 9.9808, 33.1727)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F519D #9D9B4F
analogous
#4F789D #4F519D #744F9D
triadic
#4F519D #9D4F51 #519D4F
tetradic
#4F519D #9D4F78 #9D9B4F #4F9D74
square
#4F519D #9D4F78 #9D9B4F #4F9D74
split-complementary
#4F519D #9D744F #789D4F
monochromatic
#26274C #3B3C74 #4F519D #7173B8 #9A9BCC

Accessibility & contrast

On white

7.01
#4F519D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4F519D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F519D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F519D#FFFFFF#000000##FFFFFF
##4F519D1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305CA0
Deuteranopia (green-blind)
#2A569B
Tritanopia (blue-blind)
#32616F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f519d;
/* rgb */ color: rgb(79, 81, 157);
/* oklch */ color: oklch(47.2% 0.121 279.6);
Tailwind
colors: {
  custom: {
    50: '#8581ba',
    500: '#4f519d',
    950: '#000000',
  },
}
SCSS
$custom: #4f519d;
$custom-light: #8581ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f519d",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 238.462,
    "s": 33.051,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47191,
    "c": 0.12052,
    "h": 279.6
  },
  "luminance": 0.09981
}

Semantic roles & 50–950 ramp

primary
#4F519D
secondary
#B9B88F
accent
#C65FC9
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4F519D

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

Preview Lab → · Contrast checker → · Palette generator →

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