#4F488F#4F488F

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

Color values

HEX#4F488F
RGBrgb(79, 72, 143)
HSLhsl(246, 33%, 42%)
HSVhsv(246, 50%, 56%)
CMYKcmyk(44.8%, 49.7%, 0%, 43.9%)
CIE-LABlab(34.56, 21.97, -38.52)
CIE-LCHlch(34.56, 44.35, 299.70°)
OKLaboklab(44.46% 0.0299 -0.1093)
OKLCHoklch(44.46% 0.113 285.3)
XYZxyz(10.4983, 8.2797, 27.0263)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F488F #888F48
analogous
#48658F #4F488F #72488F
triadic
#4F488F #8F4F48 #488F4F
tetradic
#4F488F #8F4865 #888F48 #488F72
square
#4F488F #8F4865 #888F48 #488F72
split-complementary
#4F488F #8F7248 #658F48
monochromatic
#221F3E #393466 #4F488F #6B63B1 #928CC5

Accessibility & contrast

On white

7.91
#4F488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4F488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F488F
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F488F#FFFFFF#000000##FFFFFF
##4F488F1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#3B5764
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f488f;
/* rgb */ color: rgb(79, 72, 143);
/* oklch */ color: oklch(44.5% 0.113 285.3);
Tailwind
colors: {
  custom: {
    50: '#847bb0',
    500: '#4f488f',
    950: '#000000',
  },
}
SCSS
$custom: #4f488f;
$custom-light: #847bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f488f",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 245.915,
    "s": 33.023,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44462,
    "c": 0.11327,
    "h": 285.3
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

primary
#4F488F
secondary
#ACB182
accent
#C95FBF
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4F488F

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

Preview Lab → · Contrast checker → · Palette generator →

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