#4F3DB2#4F3DB2

#4F3DB2 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.2% C 0.177 H 283.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4F3DB2
RGBrgb(79, 61, 178)
HSLhsl(249, 49%, 47%)
HSVhsv(249, 66%, 70%)
CMYKcmyk(55.6%, 65.7%, 0%, 30.2%)
CIE-LABlab(34.42, 39.79, -59.82)
CIE-LCHlch(34.42, 71.84, 303.63°)
OKLaboklab(45.16% 0.0421 -0.1719)
OKLCHoklch(45.16% 0.177 283.8)
XYZxyz(12.9266, 8.2133, 43.0150)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3DB2 #A0B23D
analogous
#3D66B2 #4F3DB2 #8A3DB2
triadic
#4F3DB2 #B24F3D #3DB24F
tetradic
#4F3DB2 #B23D66 #A0B23D #3DB28A
square
#4F3DB2 #B23D66 #A0B23D #3DB28A
split-complementary
#4F3DB2 #B28A3D #66B23D
monochromatic
#271E57 #3B2D84 #4F3DB2 #7363C9 #9C90D9

Accessibility & contrast

On white

7.95
#4F3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F3DB2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3DB2#FFFFFF#000000##FFFFFF
##4F3DB21.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f3db2;
/* rgb */ color: rgb(79, 61, 178);
/* oklch */ color: oklch(45.2% 0.177 283.8);
Tailwind
colors: {
  custom: {
    50: '#8a74ca',
    500: '#4f3db2',
    950: '#000000',
  },
}
SCSS
$custom: #4f3db2;
$custom-light: #8a74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3db2",
  "rgb": {
    "r": 79,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 249.231,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45159,
    "c": 0.17697,
    "h": 283.8
  },
  "luminance": 0.08214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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