#4F498F#4F498F

#4F498F is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.7% C 0.112 H 284.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#4F498F
RGBrgb(79, 73, 143)
HSLhsl(245, 32%, 42%)
HSVhsv(245, 49%, 56%)
CMYKcmyk(44.8%, 49%, 0%, 43.9%)
CIE-LABlab(34.82, 21.33, -38.10)
CIE-LCHlch(34.82, 43.66, 299.24°)
OKLaboklab(44.66% 0.0286 -0.108)
OKLCHoklch(44.66% 0.112 284.8)
XYZxyz(10.5635, 8.4101, 27.0480)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F498F #898F49
analogous
#49668F #4F498F #72498F
triadic
#4F498F #8F4F49 #498F4F
tetradic
#4F498F #8F4966 #898F49 #498F72
square
#4F498F #8F4966 #898F49 #498F72
split-complementary
#4F498F #8F7249 #668F49
monochromatic
#22203E #393466 #4F498F #6B65B0 #928DC5

Accessibility & contrast

On white

7.83
#4F498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4F498F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F498F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F498F#FFFFFF#000000##FFFFFF
##4F498F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5492
Deuteranopia (green-blind)
#2A508D
Tritanopia (blue-blind)
#3B5765
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f498f;
/* rgb */ color: rgb(79, 73, 143);
/* oklch */ color: oklch(44.7% 0.112 284.8);
Tailwind
colors: {
  custom: {
    50: '#847bb0',
    500: '#4f498f',
    950: '#000000',
  },
}
SCSS
$custom: #4f498f;
$custom-light: #847bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f498f",
  "rgb": {
    "r": 79,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 245.143,
    "s": 32.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4466,
    "c": 0.11173,
    "h": 284.8
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#4F498F
secondary
#ADB183
accent
#C95FC0
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4F498F

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

Preview Lab → · Contrast checker → · Palette generator →

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