#4F4C8A#4F4C8A

#4F4C8A is a dark, moderate blue. Relative luminance 0.087; OKLCH L 45.0% C 0.100 H 283.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4F4C8A
RGBrgb(79, 76, 138)
HSLhsl(243, 29%, 42%)
HSVhsv(243, 45%, 54%)
CMYKcmyk(42.8%, 44.9%, 0%, 45.9%)
CIE-LABlab(35.33, 17.85, -34.23)
CIE-LCHlch(35.33, 38.61, 297.54°)
OKLaboklab(44.95% 0.0238 -0.0967)
OKLCHoklch(44.95% 0.1 283.8)
XYZxyz(10.3950, 8.6657, 25.1648)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4C8A #878A4C
analogous
#4C688A #4F4C8A #6E4C8A
triadic
#4F4C8A #8A4F4C #4C8A4F
tetradic
#4F4C8A #8A4C68 #878A4C #4C8A6E
square
#4F4C8A #8A4C68 #878A4C #4C8A6E
split-complementary
#4F4C8A #8A6E4C #688A4C
monochromatic
#22213B #383663 #4F4C8A #6B68AC #918FC1

Accessibility & contrast

On white

7.68
#4F4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4F4C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4C8A
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4C8A#FFFFFF#000000##FFFFFF
##4F4C8A1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#335189
Tritanopia (blue-blind)
#3D5864
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f4c8a;
/* rgb */ color: rgb(79, 76, 138);
/* oklch */ color: oklch(45.0% 0.100 283.8);
Tailwind
colors: {
  custom: {
    50: '#837eac',
    500: '#4f4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4f4c8a;
$custom-light: #837eac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4c8a",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 242.903,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4495,
    "c": 0.09957,
    "h": 283.8
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#4F4C8A
secondary
#ACAE84
accent
#C563C0
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4F4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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