#4F3CB2#4F3CB2

#4F3CB2 is a mid, vivid blue. Relative luminance 0.081; OKLCH L 45.0% C 0.178 H 284.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4F3CB2
RGBrgb(79, 60, 178)
HSLhsl(250, 50%, 47%)
HSVhsv(250, 66%, 70%)
CMYKcmyk(55.6%, 66.3%, 0%, 30.2%)
CIE-LABlab(34.21, 40.37, -60.17)
CIE-LCHlch(34.21, 72.46, 303.86°)
OKLaboklab(45% 0.043 -0.1729)
OKLCHoklch(45% 0.178 284)
XYZxyz(12.8737, 8.1076, 42.9974)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3CB2 #9FB23C
analogous
#3C64B2 #4F3CB2 #8A3CB2
triadic
#4F3CB2 #B24F3C #3CB24F
tetradic
#4F3CB2 #B23C64 #9FB23C #3CB28A
square
#4F3CB2 #B23C64 #9FB23C #3CB28A
split-complementary
#4F3CB2 #B28A3C #64B23C
monochromatic
#261D56 #3B2D84 #4F3CB2 #7261CA #9B8FD9

Accessibility & contrast

On white

8.01
#4F3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4F3CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3CB2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3CB2#FFFFFF#000000##FFFFFF
##4F3CB21.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#215A72
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f3cb2;
/* rgb */ color: rgb(79, 60, 178);
/* oklch */ color: oklch(45.0% 0.178 284.0);
Tailwind
colors: {
  custom: {
    50: '#8a73ca',
    500: '#4f3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #4f3cb2;
$custom-light: #8a73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3cb2",
  "rgb": {
    "r": 79,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 249.661,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45001,
    "c": 0.17822,
    "h": 284
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#4F3CB2
secondary
#BAC486
accent
#D94FC3
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4F3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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