#4F4FA3#4F4FA3

#4F4FA3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.132 H 280.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4F4FA3
RGBrgb(79, 79, 163)
HSLhsl(240, 35%, 47%)
HSVhsv(240, 52%, 64%)
CMYKcmyk(51.5%, 51.5%, 0%, 36.1%)
CIE-LABlab(37.66, 23.86, -45.64)
CIE-LCHlch(37.66, 51.50, 297.60°)
OKLaboklab(47.2% 0.0231 -0.1301)
OKLCHoklch(47.2% 0.132 280.1)
XYZxyz(12.6293, 9.8979, 35.8882)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FA3 #A3A34F
analogous
#4F79A3 #4F4FA3 #794FA3
triadic
#4F4FA3 #A34F4F #4FA34F
tetradic
#4F4FA3 #A34F79 #A3A34F #4FA379
square
#4F4FA3 #A34F79 #A3A34F #4FA379
split-complementary
#4F4FA3 #A3794F #79A34F
monochromatic
#272751 #3B3B7A #4F4FA3 #7474BB #9D9DCF

Accessibility & contrast

On white

7.05
#4F4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4F4FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4FA3
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FA3#FFFFFF#000000##FFFFFF
##4F4FA31.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA6
Deuteranopia (green-blind)
#1D55A1
Tritanopia (blue-blind)
#2D6171
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f4fa3;
/* rgb */ color: rgb(79, 79, 163);
/* oklch */ color: oklch(47.2% 0.132 280.1);
Tailwind
colors: {
  custom: {
    50: '#8680bf',
    500: '#4f4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fa3;
$custom-light: #8680bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fa3",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 240,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.472,
    "c": 0.13216,
    "h": 280.1
  },
  "luminance": 0.09899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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