#4F4591#4F4591

#4F4591 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.121 H 286.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4F4591
RGBrgb(79, 69, 145)
HSLhsl(248, 36%, 42%)
HSVhsv(248, 52%, 57%)
CMYKcmyk(45.5%, 52.4%, 0%, 43.1%)
CIE-LABlab(33.90, 24.52, -40.79)
CIE-LCHlch(33.90, 47.59, 301.01°)
OKLaboklab(44.01% 0.034 -0.1159)
OKLCHoklch(44.01% 0.121 286.3)
XYZxyz(10.4619, 7.9624, 27.7682)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4591 #879145
analogous
#456191 #4F4591 #754591
triadic
#4F4591 #914F45 #45914F
tetradic
#4F4591 #914561 #879145 #459175
square
#4F4591 #914561 #879145 #459175
split-complementary
#4F4591 #917545 #619145
monochromatic
#221E3E #383168 #4F4591 #6B60B3 #9189C7

Accessibility & contrast

On white

8.10
#4F4591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4F4591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4591
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4591#FFFFFF#000000##FFFFFF
##4F45911.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235294
Deuteranopia (green-blind)
#214E8F
Tritanopia (blue-blind)
#3A5564
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f4591;
/* rgb */ color: rgb(79, 69, 145);
/* oklch */ color: oklch(44.0% 0.121 286.3);
Tailwind
colors: {
  custom: {
    50: '#8579b2',
    500: '#4f4591',
    950: '#000000',
  },
}
SCSS
$custom: #4f4591;
$custom-light: #8579b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4591",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 247.895,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44011,
    "c": 0.12081,
    "h": 286.3
  },
  "luminance": 0.07963
}

Semantic roles & 50–950 ramp

primary
#4F4591
secondary
#ACB280
accent
#CC5CBD
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4F4591

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

Preview Lab → · Contrast checker → · Palette generator →

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