#4F498E#4F498E

#4F498E is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.6% C 0.110 H 285.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4F498E
RGBrgb(79, 73, 142)
HSLhsl(245, 32%, 42%)
HSVhsv(245, 49%, 56%)
CMYKcmyk(44.4%, 48.6%, 0%, 44.3%)
CIE-LABlab(34.76, 21.02, -37.59)
CIE-LCHlch(34.76, 43.07, 299.22°)
OKLaboklab(44.6% 0.0284 -0.1065)
OKLCHoklch(44.6% 0.11 285)
XYZxyz(10.4881, 8.3799, 26.6508)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F498E #888E49
analogous
#49668E #4F498E #71498E
triadic
#4F498E #8E4F49 #498E4F
tetradic
#4F498E #8E4966 #888E49 #498E71
square
#4F498E #8E4966 #888E49 #498E71
split-complementary
#4F498E #8E7149 #668E49
monochromatic
#221F3D #393466 #4F498E #6B65B0 #928DC4

Accessibility & contrast

On white

7.85
#4F498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F498E
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F498E#FFFFFF#000000##FFFFFF
##4F498E1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5491
Deuteranopia (green-blind)
#2B508C
Tritanopia (blue-blind)
#3C5764
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f498e;
/* rgb */ color: rgb(79, 73, 142);
/* oklch */ color: oklch(44.6% 0.110 285.0);
Tailwind
colors: {
  custom: {
    50: '#847baf',
    500: '#4f498e',
    950: '#000000',
  },
}
SCSS
$custom: #4f498e;
$custom-light: #847baf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f498e",
  "rgb": {
    "r": 79,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 245.217,
    "s": 32.093,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44595,
    "c": 0.11024,
    "h": 285
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F498E

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

Preview Lab → · Contrast checker → · Palette generator →

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