#4F3EB4#4F3EB4

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

Color values

HEX#4F3EB4
RGBrgb(79, 62, 180)
HSLhsl(249, 49%, 47%)
HSVhsv(249, 66%, 71%)
CMYKcmyk(56.1%, 65.6%, 0%, 29.4%)
CIE-LABlab(34.81, 39.82, -60.38)
CIE-LCHlch(34.81, 72.33, 303.41°)
OKLaboklab(45.49% 0.0409 -0.1735)
OKLCHoklch(45.49% 0.178 283.3)
XYZxyz(13.1828, 8.4020, 44.0983)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F3EB4 #A3B43E
analogous
#3E68B4 #4F3EB4 #8A3EB4
triadic
#4F3EB4 #B44F3E #3EB44F
tetradic
#4F3EB4 #B43E68 #A3B43E #3EB48A
square
#4F3EB4 #B43E68 #A3B43E #3EB48A
split-complementary
#4F3EB4 #B48A3E #68B43E
monochromatic
#271F59 #3B2E86 #4F3EB4 #7465CA #9D93DA

Accessibility & contrast

On white

7.83
#4F3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4F3EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F3EB4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F3EB4#FFFFFF#000000##FFFFFF
##4F3EB41.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#1E5C73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f3eb4;
/* rgb */ color: rgb(79, 62, 180);
/* oklch */ color: oklch(45.5% 0.178 283.3);
Tailwind
colors: {
  custom: {
    50: '#8a74cb',
    500: '#4f3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #4f3eb4;
$custom-light: #8a74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f3eb4",
  "rgb": {
    "r": 79,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 248.644,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45487,
    "c": 0.1783,
    "h": 283.3
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#4F3EB4
secondary
#BCC589
accent
#D84FC5
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #4F3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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