#4F548C#4F548C

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

Color values

HEX#4F548C
RGBrgb(79, 84, 140)
HSLhsl(235, 28%, 43%)
HSVhsv(235, 44%, 55%)
CMYKcmyk(43.6%, 40%, 0%, 45.1%)
CIE-LABlab(37.65, 13.32, -31.78)
CIE-LCHlch(37.65, 34.46, 292.75°)
OKLaboklab(46.76% 0.0132 -0.0895)
OKLCHoklch(46.76% 0.09 278.4)
XYZxyz(11.1270, 9.8959, 26.1297)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F548C #8C874F
analogous
#4F728C #4F548C #684F8C
triadic
#4F548C #8C4F54 #548C4F
tetradic
#4F548C #8C4F72 #8C874F #4F8C68
square
#4F548C #8C4F72 #8C874F #4F8C68
split-complementary
#4F548C #8C684F #728C4F
monochromatic
#23253E #393D65 #4F548C #6C71AC #9397C2

Accessibility & contrast

On white

7.05
#4F548C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4F548C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F548C
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F548C#FFFFFF#000000##FFFFFF
##4F548C1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8E
Deuteranopia (green-blind)
#3C568B
Tritanopia (blue-blind)
#3C5F69
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f548c;
/* rgb */ color: rgb(79, 84, 140);
/* oklch */ color: oklch(46.8% 0.090 278.4);
Tailwind
colors: {
  custom: {
    50: '#8384ae',
    500: '#4f548c',
    950: '#000000',
  },
}
SCSS
$custom: #4f548c;
$custom-light: #8384ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4f548c",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 235.082,
    "s": 27.854,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46757,
    "c": 0.09045,
    "h": 278.4
  },
  "luminance": 0.09896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F548C

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

Preview Lab → · Contrast checker → · Palette generator →

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