#4F3CB7#4F3CB7

#4F3CB7 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.4% C 0.185 H 283.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#4F3CB7
RGBrgb(79, 60, 183)
HSLhsl(249, 51%, 48%)
HSVhsv(249, 67%, 72%)
CMYKcmyk(56.8%, 67.2%, 0%, 28.2%)
CIE-LABlab(34.62, 41.92, -62.45)
CIE-LCHlch(34.62, 75.22, 303.88°)
OKLaboklab(45.43% 0.0424 -0.1796)
OKLCHoklch(45.43% 0.185 283.3)
XYZxyz(13.3849, 8.3120, 45.6896)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3CB7 #A4B73C
analogous
#3C67B7 #4F3CB7 #8C3CB7
triadic
#4F3CB7 #B74F3C #3CB74F
tetradic
#4F3CB7 #B73C67 #A4B73C #3CB78C
square
#4F3CB7 #B73C67 #A4B73C #3CB78C
split-complementary
#4F3CB7 #B78C3C #67B73C
monochromatic
#271E5B #3B2D89 #4F3CB7 #7464CC #9D92DB

Accessibility & contrast

On white

7.89
#4F3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4F3CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3CB7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3CB7#FFFFFF#000000##FFFFFF
##4F3CB71.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#1A5C74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f3cb7;
/* rgb */ color: rgb(79, 60, 183);
/* oklch */ color: oklch(45.4% 0.185 283.3);
Tailwind
colors: {
  custom: {
    50: '#8b73ce',
    500: '#4f3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #4f3cb7;
$custom-light: #8b73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3cb7",
  "rgb": {
    "r": 79,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 249.268,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45433,
    "c": 0.18456,
    "h": 283.3
  },
  "luminance": 0.08313
}

Semantic roles & 50–950 ramp

primary
#4F3CB7
secondary
#BDC688
accent
#DA4EC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4F3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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