#3B39B3#3B39B3

#3B39B3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.187 H 275.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#3B39B3
RGBrgb(59, 57, 179)
HSLhsl(241, 52%, 46%)
HSVhsv(241, 68%, 70%)
CMYKcmyk(67%, 68.2%, 0%, 29.8%)
CIE-LABlab(32.06, 39.45, -64.35)
CIE-LCHlch(32.06, 75.48, 301.51°)
OKLaboklab(43.08% 0.0191 -0.1858)
OKLCHoklch(43.08% 0.187 275.9)
XYZxyz(11.4008, 7.1097, 43.4106)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B39B3 #B1B339
analogous
#3974B3 #3B39B3 #7839B3
triadic
#3B39B3 #B33B39 #39B33B
tetradic
#3B39B3 #B33974 #B1B339 #39B378
square
#3B39B3 #B33974 #B1B339 #39B378
split-complementary
#3B39B3 #B37839 #74B339
monochromatic
#1C1B56 #2C2A85 #3B39B3 #5F5ECC #8D8CDA

Accessibility & contrast

On white

8.67
#3B39B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3B39B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B39B3
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B39B3#FFFFFF#000000##FFFFFF
##3B39B31.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3b39b3;
/* rgb */ color: rgb(59, 57, 179);
/* oklch */ color: oklch(43.1% 0.187 275.9);
Tailwind
colors: {
  custom: {
    50: '#8070cb',
    500: '#3b39b3',
    950: '#000000',
  },
}
SCSS
$custom: #3b39b3;
$custom-light: #8070cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3b39b3",
  "rgb": {
    "r": 59,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 240.984,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43076,
    "c": 0.18675,
    "h": 275.9
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#3B39B3
secondary
#C4C583
accent
#DB4DD9
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3B39B3

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

Preview Lab → · Contrast checker → · Palette generator →

#3B39B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva