#4F4891#4F4891

#4F4891 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.6% C 0.116 H 285.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4F4891
RGBrgb(79, 72, 145)
HSLhsl(246, 34%, 43%)
HSVhsv(246, 50%, 57%)
CMYKcmyk(45.5%, 50.3%, 0%, 43.1%)
CIE-LABlab(34.68, 22.60, -39.54)
CIE-LCHlch(34.68, 45.54, 299.75°)
OKLaboklab(44.6% 0.0301 -0.1122)
OKLCHoklch(44.6% 0.116 285)
XYZxyz(10.6512, 8.3409, 27.8313)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4891 #8A9148
analogous
#486691 #4F4891 #734891
triadic
#4F4891 #914F48 #48914F
tetradic
#4F4891 #914866 #8A9148 #489173
square
#4F4891 #914866 #8A9148 #489173
split-complementary
#4F4891 #917348 #669148
monochromatic
#221F3F #393468 #4F4891 #6C64B2 #938DC6

Accessibility & contrast

On white

7.87
#4F4891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4F4891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4891
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4891#FFFFFF#000000##FFFFFF
##4F48911.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295494
Deuteranopia (green-blind)
#274F8F
Tritanopia (blue-blind)
#3A5765
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f4891;
/* rgb */ color: rgb(79, 72, 145);
/* oklch */ color: oklch(44.6% 0.116 285.0);
Tailwind
colors: {
  custom: {
    50: '#847bb2',
    500: '#4f4891',
    950: '#000000',
  },
}
SCSS
$custom: #4f4891;
$custom-light: #847bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4891",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 145
  },
  "hsl": {
    "h": 245.753,
    "s": 33.641,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44595,
    "c": 0.11622,
    "h": 285
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#4F4891
secondary
#AEB283
accent
#CA5EBF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4F4891

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

Preview Lab → · Contrast checker → · Palette generator →

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