#4F508F#4F508F

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

Color values

HEX#4F508F
RGBrgb(79, 80, 143)
HSLhsl(239, 29%, 44%)
HSVhsv(239, 45%, 56%)
CMYKcmyk(44.8%, 44.1%, 0%, 43.9%)
CIE-LABlab(36.71, 16.83, -35.10)
CIE-LCHlch(36.71, 38.92, 295.62°)
OKLaboklab(46.09% 0.0193 -0.0992)
OKLCHoklch(46.09% 0.101 281)
XYZxyz(11.0496, 9.3823, 27.2100)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F508F #8F8E4F
analogous
#4F708F #4F508F #6E4F8F
triadic
#4F508F #8F4F50 #508F4F
tetradic
#4F508F #8F4F70 #8F8E4F #4F8F6E
square
#4F508F #8F4F70 #8F8E4F #4F8F6E
split-complementary
#4F508F #8F6E4F #708F4F
monochromatic
#232440 #393A68 #4F508F #6D6EAE #9495C4

Accessibility & contrast

On white

7.30
#4F508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4F508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F508F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F508F#FFFFFF#000000##FFFFFF
##4F508F1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385991
Deuteranopia (green-blind)
#35548E
Tritanopia (blue-blind)
#3A5D68
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4f508f;
/* rgb */ color: rgb(79, 80, 143);
/* oklch */ color: oklch(46.1% 0.101 281.0);
Tailwind
colors: {
  custom: {
    50: '#8481b0',
    500: '#4f508f',
    950: '#000000',
  },
}
SCSS
$custom: #4f508f;
$custom-light: #8481b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f508f",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 239.063,
    "s": 28.829,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4609,
    "c": 0.10104,
    "h": 281
  },
  "luminance": 0.09383
}

Semantic roles & 50–950 ramp

primary
#4F508F
secondary
#B1B089
accent
#C463C5
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4F508F

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

Preview Lab → · Contrast checker → · Palette generator →

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