#4F4FA5#4F4FA5

#4F4FA5 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.135 H 279.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4F4FA5
RGBrgb(79, 79, 165)
HSLhsl(240, 35%, 48%)
HSVhsv(240, 52%, 65%)
CMYKcmyk(52.1%, 52.1%, 0%, 35.3%)
CIE-LABlab(37.79, 24.51, -46.62)
CIE-LCHlch(37.79, 52.67, 297.73°)
OKLaboklab(47.34% 0.0233 -0.133)
OKLCHoklch(47.34% 0.135 279.9)
XYZxyz(12.8099, 9.9701, 36.8394)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FA5 #A5A54F
analogous
#4F7AA5 #4F4FA5 #7A4FA5
triadic
#4F4FA5 #A54F4F #4FA54F
tetradic
#4F4FA5 #A54F7A #A5A54F #4FA57A
square
#4F4FA5 #A54F7A #A5A54F #4FA57A
split-complementary
#4F4FA5 #A57A4F #7AA54F
monochromatic
#272752 #3B3B7C #4F4FA5 #7575BD #9E9ED1

Accessibility & contrast

On white

7.01
#4F4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4F4FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4FA5
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FA5#FFFFFF#000000##FFFFFF
##4F4FA51.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA8
Deuteranopia (green-blind)
#1A56A3
Tritanopia (blue-blind)
#2C6272
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f4fa5;
/* rgb */ color: rgb(79, 79, 165);
/* oklch */ color: oklch(47.3% 0.135 279.9);
Tailwind
colors: {
  custom: {
    50: '#8780c0',
    500: '#4f4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fa5;
$custom-light: #8780c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fa5",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 240,
    "s": 35.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47339,
    "c": 0.13503,
    "h": 279.9
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#4F4FA5
secondary
#BDBD92
accent
#CB5DCB
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4F4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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