#4F548D#4F548D

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

Color values

HEX#4F548D
RGBrgb(79, 84, 141)
HSLhsl(235, 28%, 43%)
HSVhsv(235, 44%, 55%)
CMYKcmyk(44%, 40.4%, 0%, 44.7%)
CIE-LABlab(37.71, 13.64, -32.30)
CIE-LCHlch(37.71, 35.06, 292.89°)
OKLaboklab(46.82% 0.0135 -0.091)
OKLCHoklch(46.82% 0.092 278.4)
XYZxyz(11.2011, 9.9255, 26.5198)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F548D #8D884F
analogous
#4F738D #4F548D #694F8D
triadic
#4F548D #8D4F54 #548D4F
tetradic
#4F548D #8D4F73 #8D884F #4F8D69
square
#4F548D #8D4F73 #8D884F #4F8D69
split-complementary
#4F548D #8D694F #738D4F
monochromatic
#23253F #393D66 #4F548D #6C72AD #9497C3

Accessibility & contrast

On white

7.03
#4F548D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4F548D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F548D
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F548D#FFFFFF#000000##FFFFFF
##4F548D1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8F
Deuteranopia (green-blind)
#3B568C
Tritanopia (blue-blind)
#3B6069
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f548d;
/* rgb */ color: rgb(79, 84, 141);
/* oklch */ color: oklch(46.8% 0.092 278.4);
Tailwind
colors: {
  custom: {
    50: '#8384ae',
    500: '#4f548d',
    950: '#000000',
  },
}
SCSS
$custom: #4f548d;
$custom-light: #8384ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4f548d",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 235.161,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46816,
    "c": 0.092,
    "h": 278.4
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F548D

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

Preview Lab → · Contrast checker → · Palette generator →

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