#4F34D7#4F34D7

#4F34D7 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.3% C 0.231 H 280.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4F34D7
RGBrgb(79, 52, 215)
HSLhsl(250, 67%, 52%)
HSVhsv(250, 76%, 84%)
CMYKcmyk(63.3%, 75.8%, 0%, 15.7%)
CIE-LABlab(36.03, 55.86, -78.82)
CIE-LCHlch(36.03, 96.61, 305.33°)
OKLaboklab(47.32% 0.0418 -0.2275)
OKLCHoklch(47.32% 0.231 280.4)
XYZxyz(16.7143, 9.0233, 65.1377)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F34D7 #BCD734
analogous
#346AD7 #4F34D7 #A134D7
triadic
#4F34D7 #D74F34 #34D74F
tetradic
#4F34D7 #D7346A #BCD734 #34D7A1
square
#4F34D7 #D7346A #BCD734 #34D7A1
split-complementary
#4F34D7 #D7A134 #6AD734
monochromatic
#281879 #3922AC #4F34D7 #7B67E1 #A89AEB

Accessibility & contrast

On white

7.49
#4F34D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4F34D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F34D7
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F34D7#FFFFFF#000000##FFFFFF
##4F34D71.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADC
Deuteranopia (green-blind)
#004FD4
Tritanopia (blue-blind)
#006484
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f34d7;
/* rgb */ color: rgb(79, 52, 215);
/* oklch */ color: oklch(47.3% 0.231 280.4);
Tailwind
colors: {
  custom: {
    50: '#9170e5',
    500: '#4f34d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f34d7;
$custom-light: #9170e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f34d7",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 215
  },
  "hsl": {
    "h": 249.939,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47324,
    "c": 0.23128,
    "h": 280.4
  },
  "luminance": 0.09025
}

Semantic roles & 50–950 ramp

primary
#4F34D7
secondary
#CBD790
accent
#EA3ECD
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4F34D7

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

Preview Lab → · Contrast checker → · Palette generator →

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