#4F488D#4F488D

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

Color values

HEX#4F488D
RGBrgb(79, 72, 141)
HSLhsl(246, 32%, 42%)
HSVhsv(246, 49%, 55%)
CMYKcmyk(44%, 48.9%, 0%, 44.7%)
CIE-LABlab(34.44, 21.35, -37.49)
CIE-LCHlch(34.44, 43.15, 299.66°)
OKLaboklab(44.33% 0.0297 -0.1062)
OKLCHoklch(44.33% 0.11 285.6)
XYZxyz(10.3482, 8.2197, 26.2355)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F488D #868D48
analogous
#48648D #4F488D #72488D
triadic
#4F488D #8D4F48 #488D4F
tetradic
#4F488D #8D4864 #868D48 #488D72
square
#4F488D #8D4864 #868D48 #488D72
split-complementary
#4F488D #8D7248 #648D48
monochromatic
#221F3C #383364 #4F488D #6B63AF #918BC4

Accessibility & contrast

On white

7.94
#4F488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F488D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F488D#FFFFFF#000000##FFFFFF
##4F488D1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#2B4F8B
Tritanopia (blue-blind)
#3C5664
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f488d;
/* rgb */ color: rgb(79, 72, 141);
/* oklch */ color: oklch(44.3% 0.110 285.6);
Tailwind
colors: {
  custom: {
    50: '#847baf',
    500: '#4f488d',
    950: '#000000',
  },
}
SCSS
$custom: #4f488d;
$custom-light: #847baf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f488d",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 246.087,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4433,
    "c": 0.11031,
    "h": 285.6
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#4F488D
secondary
#ABB081
accent
#C95FBE
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4F488D

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

Preview Lab → · Contrast checker → · Palette generator →

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