#4B39D7#4B39D7

#4B39D7 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.7% C 0.227 H 278.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4B39D7
RGBrgb(75, 57, 215)
HSLhsl(247, 66%, 53%)
HSVhsv(247, 73%, 84%)
CMYKcmyk(65.1%, 73.5%, 0%, 15.7%)
CIE-LABlab(36.61, 52.88, -77.87)
CIE-LCHlch(36.61, 94.13, 304.18°)
OKLaboklab(47.65% 0.0335 -0.2249)
OKLCHoklch(47.65% 0.227 278.5)
XYZxyz(16.6266, 9.3270, 65.2009)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B39D7 #C5D739
analogous
#3976D7 #4B39D7 #9A39D7
triadic
#4B39D7 #D74B39 #39D74B
tetradic
#4B39D7 #D73976 #C5D739 #39D79A
square
#4B39D7 #D73976 #C5D739 #39D79A
split-complementary
#4B39D7 #D79A39 #76D739
monochromatic
#24197C #3323AF #4B39D7 #796CE1 #A89FEC

Accessibility & contrast

On white

7.33
#4B39D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4B39D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B39D7
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B39D7#FFFFFF#000000##FFFFFF
##4B39D71.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDC
Deuteranopia (green-blind)
#0050D4
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4b39d7;
/* rgb */ color: rgb(75, 57, 215);
/* oklch */ color: oklch(47.7% 0.227 278.5);
Tailwind
colors: {
  custom: {
    50: '#8f72e5',
    500: '#4b39d7',
    950: '#000000',
  },
}
SCSS
$custom: #4b39d7;
$custom-light: #8f72e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b39d7",
  "rgb": {
    "r": 75,
    "g": 57,
    "b": 215
  },
  "hsl": {
    "h": 246.835,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.47651,
    "c": 0.22736,
    "h": 278.5
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#4B39D7
secondary
#D0D894
accent
#E93ED6
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4B39D7

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

Preview Lab → · Contrast checker → · Palette generator →

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