#4F3FB5#4F3FB5

#4F3FB5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.178 H 282.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#4F3FB5
RGBrgb(79, 63, 181)
HSLhsl(248, 48%, 48%)
HSVhsv(248, 65%, 71%)
CMYKcmyk(56.4%, 65.2%, 0%, 29%)
CIE-LABlab(35.11, 39.55, -60.48)
CIE-LCHlch(35.11, 72.26, 303.18°)
OKLaboklab(45.73% 0.0399 -0.1738)
OKLCHoklch(45.73% 0.178 282.9)
XYZxyz(13.3399, 8.5527, 44.6550)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3FB5 #A5B53F
analogous
#3F6AB5 #4F3FB5 #8A3FB5
triadic
#4F3FB5 #B54F3F #3FB54F
tetradic
#4F3FB5 #B53F6A #A5B53F #3FB58A
square
#4F3FB5 #B53F6A #A5B53F #3FB58A
split-complementary
#4F3FB5 #B58A3F #6AB53F
monochromatic
#271F5A #3B2F88 #4F3FB5 #7567CA #9E94DA

Accessibility & contrast

On white

7.75
#4F3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4F3FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3FB5
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3FB5#FFFFFF#000000##FFFFFF
##4F3FB51.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#1C5D74
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f3fb5;
/* rgb */ color: rgb(79, 63, 181);
/* oklch */ color: oklch(45.7% 0.178 282.9);
Tailwind
colors: {
  custom: {
    50: '#8a75cc',
    500: '#4f3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #4f3fb5;
$custom-light: #8a75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3fb5",
  "rgb": {
    "r": 79,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 248.136,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45732,
    "c": 0.17835,
    "h": 282.9
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#4F3FB5
secondary
#BDC58A
accent
#D850C5
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4F3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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