#4F577F#4F577F

#4F577F is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.7% C 0.066 H 274.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#4F577F
RGBrgb(79, 87, 127)
HSLhsl(230, 23%, 40%)
HSVhsv(230, 38%, 50%)
CMYKcmyk(37.8%, 31.5%, 0%, 50.2%)
CIE-LABlab(37.86, 7.46, -23.52)
CIE-LCHlch(37.86, 24.67, 287.61°)
OKLaboklab(46.7% 0.0056 -0.0655)
OKLCHoklch(46.7% 0.066 274.9)
XYZxyz(10.4623, 10.0105, 21.4555)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F577F #7F774F
analogous
#4F6F7F #4F577F #5F4F7F
triadic
#4F577F #7F4F57 #577F4F
tetradic
#4F577F #7F4F6F #7F774F #4F7F5F
square
#4F577F #7F4F6F #7F774F #4F7F5F
split-complementary
#4F577F #7F5F4F #6F7F4F
monochromatic
#202334 #383D59 #4F577F #6973A2 #8F96B9

Accessibility & contrast

On white

6.99
#4F577F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F577F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F577F#FFFFFF#000000##FFFFFF
##4F577F1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B81
Deuteranopia (green-blind)
#47577E
Tritanopia (blue-blind)
#415F65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f577f;
/* rgb */ color: rgb(79, 87, 127);
/* oklch */ color: oklch(46.7% 0.066 274.9);
Tailwind
colors: {
  custom: {
    50: '#8286a4',
    500: '#4f577f',
    950: '#000000',
  },
}
SCSS
$custom: #4f577f;
$custom-light: #8286a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f577f",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 127
  },
  "hsl": {
    "h": 230,
    "s": 23.301,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46703,
    "c": 0.06579,
    "h": 274.9
  },
  "luminance": 0.10011
}

Semantic roles & 50–950 ramp

primary
#4F577F
secondary
#A6A084
accent
#B168C0
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4F577F

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

Preview Lab → · Contrast checker → · Palette generator →

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