#4F488C#4F488C

#4F488C is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.3% C 0.109 H 285.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4F488C
RGBrgb(79, 72, 140)
HSLhsl(246, 32%, 42%)
HSVhsv(246, 49%, 55%)
CMYKcmyk(43.6%, 48.6%, 0%, 45.1%)
CIE-LABlab(34.38, 21.04, -36.98)
CIE-LCHlch(34.38, 42.55, 299.64°)
OKLaboklab(44.26% 0.0295 -0.1047)
OKLCHoklch(44.26% 0.109 285.7)
XYZxyz(10.2741, 8.1900, 25.8454)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F488C #858C48
analogous
#48638C #4F488C #71488C
triadic
#4F488C #8C4F48 #488C4F
tetradic
#4F488C #8C4863 #858C48 #488C71
square
#4F488C #8C4863 #858C48 #488C71
split-complementary
#4F488C #8C7148 #638C48
monochromatic
#211E3B #383364 #4F488C #6A63AF #918BC3

Accessibility & contrast

On white

7.96
#4F488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4F488C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F488C
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F488C#FFFFFF#000000##FFFFFF
##4F488C1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D538E
Deuteranopia (green-blind)
#2C4F8A
Tritanopia (blue-blind)
#3D5663
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f488c;
/* rgb */ color: rgb(79, 72, 140);
/* oklch */ color: oklch(44.3% 0.109 285.7);
Tailwind
colors: {
  custom: {
    50: '#847bae',
    500: '#4f488c',
    950: '#000000',
  },
}
SCSS
$custom: #4f488c;
$custom-light: #847bae;
$custom-dark: #000000;
JSON
{
  "hex": "#4f488c",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 246.176,
    "s": 32.075,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44264,
    "c": 0.10882,
    "h": 285.7
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#4F488C
secondary
#AAAF81
accent
#C860BD
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4F488C

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

Preview Lab → · Contrast checker → · Palette generator →

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