#4F488E#4F488E

#4F488E is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.4% C 0.112 H 285.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4F488E
RGBrgb(79, 72, 142)
HSLhsl(246, 33%, 42%)
HSVhsv(246, 49%, 56%)
CMYKcmyk(44.4%, 49.3%, 0%, 44.3%)
CIE-LABlab(34.50, 21.66, -38.01)
CIE-LCHlch(34.50, 43.75, 299.68°)
OKLaboklab(44.4% 0.0298 -0.1077)
OKLCHoklch(44.4% 0.112 285.4)
XYZxyz(10.4229, 8.2496, 26.6291)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F488E #878E48
analogous
#48648E #4F488E #72488E
triadic
#4F488E #8E4F48 #488E4F
tetradic
#4F488E #8E4864 #878E48 #488E72
square
#4F488E #8E4864 #878E48 #488E72
split-complementary
#4F488E #8E7248 #648E48
monochromatic
#221F3D #383365 #4F488E #6B63B0 #918CC5

Accessibility & contrast

On white

7.92
#4F488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4F488E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F488E
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F488E#FFFFFF#000000##FFFFFF
##4F488E1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f488e;
/* rgb */ color: rgb(79, 72, 142);
/* oklch */ color: oklch(44.4% 0.112 285.4);
Tailwind
colors: {
  custom: {
    50: '#847baf',
    500: '#4f488e',
    950: '#000000',
  },
}
SCSS
$custom: #4f488e;
$custom-light: #847baf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f488e",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 246,
    "s": 32.71,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44395,
    "c": 0.11179,
    "h": 285.4
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F488E

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

Preview Lab → · Contrast checker → · Palette generator →

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