#4F508E#4F508E

#4F508E is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.0% C 0.100 H 281.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4F508E
RGBrgb(79, 80, 142)
HSLhsl(239, 29%, 43%)
HSVhsv(239, 44%, 56%)
CMYKcmyk(44.4%, 43.7%, 0%, 44.3%)
CIE-LABlab(36.65, 16.52, -34.58)
CIE-LCHlch(36.65, 38.32, 295.53°)
OKLaboklab(46.03% 0.0191 -0.0977)
OKLCHoklch(46.03% 0.1 281)
XYZxyz(10.9742, 9.3521, 26.8128)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F508E #8E8D4F
analogous
#4F6F8E #4F508E #6D4F8E
triadic
#4F508E #8E4F50 #508E4F
tetradic
#4F508E #8E4F6F #8E8D4F #4F8E6D
square
#4F508E #8E4F6F #8E8D4F #4F8E6D
split-complementary
#4F508E #8E6D4F #6F8E4F
monochromatic
#23243F #393A67 #4F508E #6D6EAE #9495C3

Accessibility & contrast

On white

7.32
#4F508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4F508E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F508E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F508E#FFFFFF#000000##FFFFFF
##4F508E1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395990
Deuteranopia (green-blind)
#35548D
Tritanopia (blue-blind)
#3B5D68
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4f508e;
/* rgb */ color: rgb(79, 80, 142);
/* oklch */ color: oklch(46.0% 0.100 281.0);
Tailwind
colors: {
  custom: {
    50: '#8481af',
    500: '#4f508e',
    950: '#000000',
  },
}
SCSS
$custom: #4f508e;
$custom-light: #8481af;
$custom-dark: #000000;
JSON
{
  "hex": "#4f508e",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 239.048,
    "s": 28.507,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46028,
    "c": 0.09951,
    "h": 281
  },
  "luminance": 0.09353
}

Semantic roles & 50–950 ramp

primary
#4F508E
secondary
#B0AF89
accent
#C363C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4F508E

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

Preview Lab → · Contrast checker → · Palette generator →

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