#4F548F#4F548F

#4F548F is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.9% C 0.095 H 278.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4F548F
RGBrgb(79, 84, 143)
HSLhsl(235, 29%, 44%)
HSVhsv(235, 45%, 56%)
CMYKcmyk(44.8%, 41.3%, 0%, 43.9%)
CIE-LABlab(37.82, 14.26, -33.34)
CIE-LCHlch(37.82, 36.27, 293.16°)
OKLaboklab(46.93% 0.0139 -0.094)
OKLCHoklch(46.93% 0.095 278.4)
XYZxyz(11.3512, 9.9855, 27.3106)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F548F #8F8A4F
analogous
#4F748F #4F548F #6A4F8F
triadic
#4F548F #8F4F54 #548F4F
tetradic
#4F548F #8F4F74 #8F8A4F #4F8F6A
square
#4F548F #8F4F74 #8F8A4F #4F8F6A
split-complementary
#4F548F #8F6A4F #748F4F
monochromatic
#232640 #393D68 #4F548F #6D72AE #9498C4

Accessibility & contrast

On white

7.01
#4F548F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4F548F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F548F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F548F#FFFFFF#000000##FFFFFF
##4F548F1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C91
Deuteranopia (green-blind)
#3A578E
Tritanopia (blue-blind)
#3A606A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f548f;
/* rgb */ color: rgb(79, 84, 143);
/* oklch */ color: oklch(46.9% 0.095 278.4);
Tailwind
colors: {
  custom: {
    50: '#8484b0',
    500: '#4f548f',
    950: '#000000',
  },
}
SCSS
$custom: #4f548f;
$custom-light: #8484b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f548f",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 235.313,
    "s": 28.829,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46934,
    "c": 0.09507,
    "h": 278.4
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#4F548F
secondary
#B1AE89
accent
#BD63C5
background
#F8F8FA
surface
#EFEFF5
border
#CACACF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4F548F

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

Preview Lab → · Contrast checker → · Palette generator →

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