#4F528D#4F528D

#4F528D is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.4% C 0.095 H 279.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4F528D
RGBrgb(79, 82, 141)
HSLhsl(237, 28%, 43%)
HSVhsv(237, 44%, 55%)
CMYKcmyk(44%, 41.8%, 0%, 44.7%)
CIE-LABlab(37.15, 14.92, -33.18)
CIE-LCHlch(37.15, 36.38, 294.21°)
OKLaboklab(46.39% 0.0162 -0.0936)
OKLCHoklch(46.39% 0.095 279.8)
XYZxyz(11.0480, 9.6194, 26.4687)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F528D #8D8A4F
analogous
#4F718D #4F528D #6B4F8D
triadic
#4F528D #8D4F52 #528D4F
tetradic
#4F528D #8D4F71 #8D8A4F #4F8D6B
square
#4F528D #8D4F71 #8D8A4F #4F8D6B
split-complementary
#4F528D #8D6B4F #718D4F
monochromatic
#23243F #393B66 #4F528D #6C6FAD #9496C3

Accessibility & contrast

On white

7.18
#4F528D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F528D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F528D#FFFFFF#000000##FFFFFF
##4F528D1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A8F
Deuteranopia (green-blind)
#39558C
Tritanopia (blue-blind)
#3B5E68
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f528d;
/* rgb */ color: rgb(79, 82, 141);
/* oklch */ color: oklch(46.4% 0.095 279.8);
Tailwind
colors: {
  custom: {
    50: '#8382ae',
    500: '#4f528d',
    950: '#000000',
  },
}
SCSS
$custom: #4f528d;
$custom-light: #8382ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4f528d",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 237.097,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46389,
    "c": 0.09498,
    "h": 279.8
  },
  "luminance": 0.0962
}

Semantic roles & 50–950 ramp

primary
#4F528D
secondary
#AFAE88
accent
#C063C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4F528D

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

Preview Lab → · Contrast checker → · Palette generator →

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