#4F5387#4F5387

#4F5387 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.3% C 0.084 H 279.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4F5387
RGBrgb(79, 83, 135)
HSLhsl(236, 26%, 42%)
HSVhsv(236, 41%, 53%)
CMYKcmyk(41.5%, 38.5%, 0%, 47.1%)
CIE-LABlab(37.11, 12.42, -29.59)
CIE-LCHlch(37.11, 32.09, 292.78°)
OKLaboklab(46.25% 0.0135 -0.0831)
OKLCHoklch(46.25% 0.084 279.2)
XYZxyz(10.6896, 9.5976, 24.2063)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5387 #87834F
analogous
#4F6F87 #4F5387 #674F87
triadic
#4F5387 #874F53 #53874F
tetradic
#4F5387 #874F6F #87834F #4F8767
square
#4F5387 #874F6F #87834F #4F8767
split-complementary
#4F5387 #87674F #6F874F
monochromatic
#22243A #383B60 #4F5387 #6B6FA8 #9195BF

Accessibility & contrast

On white

7.19
#4F5387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4F5387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5387
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5387#FFFFFF#000000##FFFFFF
##4F53871.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415989
Deuteranopia (green-blind)
#3E5586
Tritanopia (blue-blind)
#3E5D66
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f5387;
/* rgb */ color: rgb(79, 83, 135);
/* oklch */ color: oklch(46.3% 0.084 279.2);
Tailwind
colors: {
  custom: {
    50: '#8383aa',
    500: '#4f5387',
    950: '#000000',
  },
}
SCSS
$custom: #4f5387;
$custom-light: #8383aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5387",
  "rgb": {
    "r": 79,
    "g": 83,
    "b": 135
  },
  "hsl": {
    "h": 235.714,
    "s": 26.168,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46254,
    "c": 0.0842,
    "h": 279.2
  },
  "luminance": 0.09598
}

Semantic roles & 50–950 ramp

primary
#4F5387
secondary
#ACA986
accent
#BC65C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4F5387

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

Preview Lab → · Contrast checker → · Palette generator →

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