#4F548B#4F548B

#4F548B is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.7% C 0.089 H 278.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4F548B
RGBrgb(79, 84, 139)
HSLhsl(235, 28%, 43%)
HSVhsv(235, 43%, 55%)
CMYKcmyk(43.2%, 39.6%, 0%, 45.5%)
CIE-LABlab(37.60, 13.02, -31.25)
CIE-LCHlch(37.60, 33.85, 292.61°)
OKLaboklab(46.7% 0.013 -0.088)
OKLCHoklch(46.7% 0.089 278.4)
XYZxyz(11.0536, 9.8665, 25.7431)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F548B #8B864F
analogous
#4F728B #4F548B #684F8B
triadic
#4F548B #8B4F54 #548B4F
tetradic
#4F548B #8B4F72 #8B864F #4F8B68
square
#4F548B #8B4F72 #8B864F #4F8B68
split-complementary
#4F548B #8B684F #728B4F
monochromatic
#23253D #393C64 #4F548B #6C71AB #9397C2

Accessibility & contrast

On white

7.06
#4F548B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4F548B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F548B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F548B#FFFFFF#000000##FFFFFF
##4F548B1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8D
Deuteranopia (green-blind)
#3D568A
Tritanopia (blue-blind)
#3C5F69
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f548b;
/* rgb */ color: rgb(79, 84, 139);
/* oklch */ color: oklch(46.7% 0.089 278.4);
Tailwind
colors: {
  custom: {
    50: '#8384ad',
    500: '#4f548b',
    950: '#000000',
  },
}
SCSS
$custom: #4f548b;
$custom-light: #8384ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4f548b",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 235,
    "s": 27.523,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46699,
    "c": 0.08892,
    "h": 278.4
  },
  "luminance": 0.09867
}

Semantic roles & 50–950 ramp

primary
#4F548B
secondary
#AEAB88
accent
#BC64C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4F548B

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

Preview Lab → · Contrast checker → · Palette generator →

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