#3B39B5#3B39B5

#3B39B5 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.3% C 0.189 H 275.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3B39B5
RGBrgb(59, 57, 181)
HSLhsl(241, 52%, 47%)
HSVhsv(241, 69%, 71%)
CMYKcmyk(67.4%, 68.5%, 0%, 29%)
CIE-LABlab(32.24, 40.12, -65.23)
CIE-LCHlch(32.24, 76.59, 301.59°)
OKLaboklab(43.26% 0.0189 -0.1884)
OKLCHoklch(43.26% 0.189 275.7)
XYZxyz(11.6045, 7.1912, 44.4836)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B39B5 #B3B539
analogous
#3975B5 #3B39B5 #7939B5
triadic
#3B39B5 #B53B39 #39B53B
tetradic
#3B39B5 #B53975 #B3B539 #39B579
square
#3B39B5 #B53975 #B3B539 #39B579
split-complementary
#3B39B5 #B57939 #75B539
monochromatic
#1D1C58 #2C2A86 #3B39B5 #605FCD #8E8DDB

Accessibility & contrast

On white

8.61
#3B39B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3B39B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B39B5
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B39B5#FFFFFF#000000##FFFFFF
##3B39B51.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3b39b5;
/* rgb */ color: rgb(59, 57, 181);
/* oklch */ color: oklch(43.3% 0.189 275.7);
Tailwind
colors: {
  custom: {
    50: '#8170cc',
    500: '#3b39b5',
    950: '#000000',
  },
}
SCSS
$custom: #3b39b5;
$custom-light: #8170cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b39b5",
  "rgb": {
    "r": 59,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 240.968,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43264,
    "c": 0.18931,
    "h": 275.7
  },
  "luminance": 0.07192
}

Semantic roles & 50–950 ramp

primary
#3B39B5
secondary
#C5C684
accent
#DC4CD9
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3B39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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