#4F3DB5#4F3DB5

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

Color values

HEX#4F3DB5
RGBrgb(79, 61, 181)
HSLhsl(249, 50%, 47%)
HSVhsv(249, 66%, 71%)
CMYKcmyk(56.4%, 66.3%, 0%, 29%)
CIE-LABlab(34.67, 40.72, -61.19)
CIE-LCHlch(34.67, 73.50, 303.64°)
OKLaboklab(45.42% 0.0417 -0.1759)
OKLCHoklch(45.42% 0.181 283.3)
XYZxyz(13.2311, 8.3351, 44.6187)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3DB5 #A3B53D
analogous
#3D67B5 #4F3DB5 #8B3DB5
triadic
#4F3DB5 #B54F3D #3DB54F
tetradic
#4F3DB5 #B53D67 #A3B53D #3DB58B
square
#4F3DB5 #B53D67 #A3B53D #3DB58B
split-complementary
#4F3DB5 #B58B3D #67B53D
monochromatic
#271E59 #3B2E87 #4F3DB5 #7464CB #9D92DA

Accessibility & contrast

On white

7.87
#4F3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4F3DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3DB5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3DB5#FFFFFF#000000##FFFFFF
##4F3DB51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#1D5B74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f3db5;
/* rgb */ color: rgb(79, 61, 181);
/* oklch */ color: oklch(45.4% 0.181 283.3);
Tailwind
colors: {
  custom: {
    50: '#8a74cc',
    500: '#4f3db5',
    950: '#000000',
  },
}
SCSS
$custom: #4f3db5;
$custom-light: #8a74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3db5",
  "rgb": {
    "r": 79,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 249,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45415,
    "c": 0.18081,
    "h": 283.3
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#4F3DB5
secondary
#BCC588
accent
#D94FC4
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4F3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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