#4F579D#4F579D

#4F579D is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.4% C 0.112 H 276.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#4F579D
RGBrgb(79, 87, 157)
HSLhsl(234, 33%, 46%)
HSVhsv(234, 50%, 62%)
CMYKcmyk(49.7%, 44.6%, 0%, 38.4%)
CIE-LABlab(39.43, 16.80, -39.21)
CIE-LCHlch(39.43, 42.66, 293.19°)
OKLaboklab(48.42% 0.0126 -0.1112)
OKLCHoklch(48.42% 0.112 276.5)
XYZxyz(12.7166, 10.9122, 33.3280)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F579D #9D954F
analogous
#4F7E9D #4F579D #6E4F9D
triadic
#4F579D #9D4F57 #579D4F
tetradic
#4F579D #9D4F7E #9D954F #4F9D6E
square
#4F579D #9D4F7E #9D954F #4F9D6E
split-complementary
#4F579D #9D6E4F #7E9D4F
monochromatic
#262A4C #3B4074 #4F579D #7179B8 #9A9FCC

Accessibility & contrast

On white

6.60
#4F579D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4F579D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F579D
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F579D#FFFFFF#000000##FFFFFF
##4F579D1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B60A0
Deuteranopia (green-blind)
#345A9B
Tritanopia (blue-blind)
#316672
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f579d;
/* rgb */ color: rgb(79, 87, 157);
/* oklch */ color: oklch(48.4% 0.112 276.5);
Tailwind
colors: {
  custom: {
    50: '#8586ba',
    500: '#4f579d',
    950: '#000000',
  },
}
SCSS
$custom: #4f579d;
$custom-light: #8586ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f579d",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 233.846,
    "s": 33.051,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48424,
    "c": 0.11191,
    "h": 276.5
  },
  "luminance": 0.10913
}

Semantic roles & 50–950 ramp

primary
#4F579D
secondary
#B9B58F
accent
#BE5FC9
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4F579D

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

Preview Lab → · Contrast checker → · Palette generator →

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