#4F5C8A#4F5C8A

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

Color values

HEX#4F5C8A
RGBrgb(79, 92, 138)
HSLhsl(227, 27%, 43%)
HSVhsv(227, 43%, 54%)
CMYKcmyk(42.8%, 33.3%, 0%, 45.9%)
CIE-LABlab(39.83, 7.62, -27.14)
CIE-LCHlch(39.83, 28.19, 285.68°)
OKLaboklab(48.4% 0.0017 -0.076)
OKLCHoklch(48.4% 0.076 271.3)
XYZxyz(11.6376, 11.1510, 25.5790)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5C8A #8A7D4F
analogous
#4F798A #4F5C8A #604F8A
triadic
#4F5C8A #8A4F5C #5C8A4F
tetradic
#4F5C8A #8A4F79 #8A7D4F #4F8A60
square
#4F5C8A #8A4F79 #8A7D4F #4F8A60
split-complementary
#4F5C8A #8A604F #798A4F
monochromatic
#22283C #394263 #4F5C8A #6C79AB #939DC1

Accessibility & contrast

On white

6.50
#4F5C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4F5C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5C8A
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5C8A#FFFFFF#000000##FFFFFF
##4F5C8A1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618C
Deuteranopia (green-blind)
#475C89
Tritanopia (blue-blind)
#3C656D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f5c8a;
/* rgb */ color: rgb(79, 92, 138);
/* oklch */ color: oklch(48.4% 0.076 271.3);
Tailwind
colors: {
  custom: {
    50: '#838aac',
    500: '#4f5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4f5c8a;
$custom-light: #838aac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5c8a",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 226.78,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48403,
    "c": 0.07602,
    "h": 271.3
  },
  "luminance": 0.11152
}

Semantic roles & 50–950 ramp

primary
#4F5C8A
secondary
#AEA587
accent
#AF64C4
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4F5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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