#4B39B7#4B39B7

#4B39B7 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.6% C 0.189 H 282.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4B39B7
RGBrgb(75, 57, 183)
HSLhsl(249, 53%, 47%)
HSVhsv(249, 69%, 72%)
CMYKcmyk(59%, 68.9%, 0%, 28.2%)
CIE-LABlab(33.65, 43.02, -64.06)
CIE-LCHlch(33.65, 77.16, 303.88°)
OKLaboklab(44.65% 0.0395 -0.1845)
OKLCHoklch(44.65% 0.189 282.1)
XYZxyz(12.9094, 7.8401, 45.6236)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B39B7 #A5B739
analogous
#3966B7 #4B39B7 #8A39B7
triadic
#4B39B7 #B74B39 #39B74B
tetradic
#4B39B7 #B73966 #A5B739 #39B78A
square
#4B39B7 #B73966 #A5B739 #39B78A
split-complementary
#4B39B7 #B78A39 #66B739
monochromatic
#251C5A #382A88 #4B39B7 #6F60CD #9A8EDC

Accessibility & contrast

On white

8.18
#4B39B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4B39B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B39B7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B39B7#FFFFFF#000000##FFFFFF
##4B39B71.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#025A73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4b39b7;
/* rgb */ color: rgb(75, 57, 183);
/* oklch */ color: oklch(44.6% 0.189 282.1);
Tailwind
colors: {
  custom: {
    50: '#8971ce',
    500: '#4b39b7',
    950: '#000000',
  },
}
SCSS
$custom: #4b39b7;
$custom-light: #8971ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4b39b7",
  "rgb": {
    "r": 75,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 248.571,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44645,
    "c": 0.18866,
    "h": 282.1
  },
  "luminance": 0.07841
}

Semantic roles & 50–950 ramp

primary
#4B39B7
secondary
#BDC785
accent
#DC4CC7
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4B39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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