#4F4792#4F4792

#4F4792 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.5% C 0.119 H 285.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4F4792
RGBrgb(79, 71, 146)
HSLhsl(246, 35%, 43%)
HSVhsv(246, 51%, 57%)
CMYKcmyk(45.9%, 51.4%, 0%, 42.7%)
CIE-LABlab(34.49, 23.55, -40.47)
CIE-LCHlch(34.49, 46.82, 300.20°)
OKLaboklab(44.47% 0.0315 -0.115)
OKLCHoklch(44.47% 0.119 285.3)
XYZxyz(10.6645, 8.2436, 28.2178)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4792 #8A9247
analogous
#476592 #4F4792 #744792
triadic
#4F4792 #924F47 #47924F
tetradic
#4F4792 #924765 #8A9247 #479274
square
#4F4792 #924765 #8A9247 #479274
split-complementary
#4F4792 #927447 #659247
monochromatic
#221F40 #393369 #4F4792 #6C63B3 #938CC7

Accessibility & contrast

On white

7.93
#4F4792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4F4792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4792
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4792#FFFFFF#000000##FFFFFF
##4F47921.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265395
Deuteranopia (green-blind)
#244F90
Tritanopia (blue-blind)
#3A5765
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f4792;
/* rgb */ color: rgb(79, 71, 146);
/* oklch */ color: oklch(44.5% 0.119 285.3);
Tailwind
colors: {
  custom: {
    50: '#857ab2',
    500: '#4f4792',
    950: '#000000',
  },
}
SCSS
$custom: #4f4792;
$custom-light: #857ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4792",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 246.4,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44467,
    "c": 0.11922,
    "h": 285.3
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#4F4792
secondary
#AEB382
accent
#CB5DBF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4F4792

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

Preview Lab → · Contrast checker → · Palette generator →

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