#4F3FB2#4F3FB2

#4F3FB2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.5% C 0.174 H 283.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4F3FB2
RGBrgb(79, 63, 178)
HSLhsl(248, 48%, 47%)
HSVhsv(248, 65%, 70%)
CMYKcmyk(55.6%, 64.6%, 0%, 30.2%)
CIE-LABlab(34.86, 38.60, -59.10)
CIE-LCHlch(34.86, 70.59, 303.16°)
OKLaboklab(45.48% 0.0402 -0.1698)
OKLCHoklch(45.48% 0.174 283.3)
XYZxyz(13.0354, 8.4309, 43.0513)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3FB2 #A2B23F
analogous
#3F68B2 #4F3FB2 #893FB2
triadic
#4F3FB2 #B24F3F #3FB24F
tetradic
#4F3FB2 #B23F68 #A2B23F #3FB289
square
#4F3FB2 #B23F68 #A2B23F #3FB289
split-complementary
#4F3FB2 #B2893F #68B23F
monochromatic
#271F58 #3B2F85 #4F3FB2 #7366C9 #9C93D9

Accessibility & contrast

On white

7.82
#4F3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4F3FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3FB2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3FB2#FFFFFF#000000##FFFFFF
##4F3FB21.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#205C73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f3fb2;
/* rgb */ color: rgb(79, 63, 178);
/* oklch */ color: oklch(45.5% 0.174 283.3);
Tailwind
colors: {
  custom: {
    50: '#8a75ca',
    500: '#4f3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #4f3fb2;
$custom-light: #8a75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3fb2",
  "rgb": {
    "r": 79,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 248.348,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45479,
    "c": 0.17448,
    "h": 283.3
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#4F3FB2
secondary
#BCC489
accent
#D750C5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4F3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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