#4F3AB9#4F3AB9

#4F3AB9 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.3% C 0.189 H 283.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4F3AB9
RGBrgb(79, 58, 185)
HSLhsl(250, 52%, 48%)
HSVhsv(250, 69%, 73%)
CMYKcmyk(57.3%, 68.6%, 0%, 27.5%)
CIE-LABlab(34.38, 43.69, -64.04)
CIE-LCHlch(34.38, 77.52, 304.30°)
OKLaboklab(45.31% 0.0438 -0.1843)
OKLCHoklch(45.31% 0.189 283.4)
XYZxyz(13.4918, 8.1903, 46.7595)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3AB9 #A4B93A
analogous
#3A65B9 #4F3AB9 #8E3AB9
triadic
#4F3AB9 #B94F3A #3AB94F
tetradic
#4F3AB9 #B93A65 #A4B93A #3AB98E
square
#4F3AB9 #B93A65 #A4B93A #3AB98E
split-complementary
#4F3AB9 #B98E3A #65B93A
monochromatic
#271D5C #3B2B8A #4F3AB9 #7462CE #9D91DC

Accessibility & contrast

On white

7.96
#4F3AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4F3AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3AB9
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3AB9#FFFFFF#000000##FFFFFF
##4F3AB91.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#165B75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f3ab9;
/* rgb */ color: rgb(79, 58, 185);
/* oklch */ color: oklch(45.3% 0.189 283.4);
Tailwind
colors: {
  custom: {
    50: '#8b72cf',
    500: '#4f3ab9',
    950: '#000000',
  },
}
SCSS
$custom: #4f3ab9;
$custom-light: #8b72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3ab9",
  "rgb": {
    "r": 79,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 249.921,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45308,
    "c": 0.18942,
    "h": 283.4
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#4F3AB9
secondary
#BDC787
accent
#DC4CC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4F3AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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