#4F508A#4F508A

#4F508A is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.8% C 0.093 H 281.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#4F508A
RGBrgb(79, 80, 138)
HSLhsl(239, 27%, 43%)
HSVhsv(239, 43%, 54%)
CMYKcmyk(42.8%, 42%, 0%, 45.9%)
CIE-LABlab(36.43, 15.27, -32.49)
CIE-LCHlch(36.43, 35.90, 295.18°)
OKLaboklab(45.79% 0.0183 -0.0916)
OKLCHoklch(45.79% 0.093 281.3)
XYZxyz(10.6792, 9.2341, 25.2595)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F508A #8A894F
analogous
#4F6E8A #4F508A #6B4F8A
triadic
#4F508A #8A4F50 #508A4F
tetradic
#4F508A #8A4F6E #8A894F #4F8A6B
square
#4F508A #8A4F6E #8A894F #4F8A6B
split-complementary
#4F508A #8A6B4F #6E8A4F
monochromatic
#22233C #393963 #4F508A #6C6DAB #9393C1

Accessibility & contrast

On white

7.38
#4F508A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4F508A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F508A
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F508A#FFFFFF#000000##FFFFFF
##4F508A1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588C
Deuteranopia (green-blind)
#385489
Tritanopia (blue-blind)
#3D5C66
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4f508a;
/* rgb */ color: rgb(79, 80, 138);
/* oklch */ color: oklch(45.8% 0.093 281.3);
Tailwind
colors: {
  custom: {
    50: '#8381ac',
    500: '#4f508a',
    950: '#000000',
  },
}
SCSS
$custom: #4f508a;
$custom-light: #8381ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f508a",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 238.983,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45786,
    "c": 0.09339,
    "h": 281.3
  },
  "luminance": 0.09235
}

Semantic roles & 50–950 ramp

primary
#4F508A
secondary
#AEAD87
accent
#C264C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4F508A

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

Preview Lab → · Contrast checker → · Palette generator →

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