#4F498D#4F498D

#4F498D is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.5% C 0.109 H 285.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4F498D
RGBrgb(79, 73, 141)
HSLhsl(245, 32%, 42%)
HSVhsv(245, 48%, 55%)
CMYKcmyk(44%, 48.2%, 0%, 44.7%)
CIE-LABlab(34.70, 20.71, -37.07)
CIE-LCHlch(34.70, 42.46, 299.19°)
OKLaboklab(44.53% 0.0283 -0.105)
OKLCHoklch(44.53% 0.109 285.1)
XYZxyz(10.4133, 8.3500, 26.2572)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F498D #878D49
analogous
#49658D #4F498D #71498D
triadic
#4F498D #8D4F49 #498D4F
tetradic
#4F498D #8D4965 #878D49 #498D71
square
#4F498D #8D4965 #878D49 #498D71
split-complementary
#4F498D #8D7149 #658D49
monochromatic
#221F3C #383465 #4F498D #6B64AF #918DC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F498D#FFFFFF#000000##FFFFFF
##4F498D1.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)
#2E548F
Deuteranopia (green-blind)
#2C508B
Tritanopia (blue-blind)
#3C5764
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f498d;
/* rgb */ color: rgb(79, 73, 141);
/* oklch */ color: oklch(44.5% 0.109 285.1);
Tailwind
colors: {
  custom: {
    50: '#847baf',
    500: '#4f498d',
    950: '#000000',
  },
}
SCSS
$custom: #4f498d;
$custom-light: #847baf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f498d",
  "rgb": {
    "r": 79,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 245.294,
    "s": 31.776,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4453,
    "c": 0.10875,
    "h": 285.1
  },
  "luminance": 0.0835
}

Semantic roles & 50–950 ramp

primary
#4F498D
secondary
#ACB082
accent
#C860BF
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4F498D

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

Preview Lab → · Contrast checker → · Palette generator →

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