#4F50AF#4F50AF

#4F50AF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.148 H 278.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4F50AF
RGBrgb(79, 80, 175)
HSLhsl(239, 38%, 50%)
HSVhsv(239, 55%, 69%)
CMYKcmyk(54.9%, 54.3%, 0%, 31.4%)
CIE-LABlab(38.71, 27.14, -51.07)
CIE-LCHlch(38.71, 57.84, 297.98°)
OKLaboklab(48.25% 0.0228 -0.1461)
OKLCHoklch(48.25% 0.148 278.9)
XYZxyz(13.8285, 10.4938, 41.8460)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50AF #AFAE4F
analogous
#4F80AF #4F50AF #7E4FAF
triadic
#4F50AF #AF4F50 #50AF4F
tetradic
#4F50AF #AF4F80 #AFAE4F #4FAF7E
square
#4F50AF #AF4F80 #AFAE4F #4FAF7E
split-complementary
#4F50AF #AF7E4F #80AF4F
monochromatic
#29295B #3C3D85 #4F50AF #797AC2 #A3A3D5

Accessibility & contrast

On white

6.78
#4F50AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4F50AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50AF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50AF#FFFFFF#000000##FFFFFF
##4F50AF1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#216677
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f50af;
/* rgb */ color: rgb(79, 80, 175);
/* oklch */ color: oklch(48.2% 0.148 278.9);
Tailwind
colors: {
  custom: {
    50: '#8881c7',
    500: '#4f50af',
    950: '#000000',
  },
}
SCSS
$custom: #4f50af;
$custom-light: #8881c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50af",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 239.375,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48247,
    "c": 0.14786,
    "h": 278.9
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#4F50AF
secondary
#C3C297
accent
#CD5ACE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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