#3B299F#3B299F

#3B299F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.179 H 280.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#3B299F
RGBrgb(59, 41, 159)
HSLhsl(249, 59%, 39%)
HSVhsv(249, 74%, 62%)
CMYKcmyk(62.9%, 74.2%, 0%, 37.6%)
CIE-LABlab(26.79, 42.22, -60.97)
CIE-LCHlch(26.79, 74.16, 304.70°)
OKLaboklab(38.73% 0.034 -0.1759)
OKLCHoklch(38.73% 0.179 280.9)
XYZxyz(8.8526, 5.0182, 33.2963)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B299F #8D9F29
analogous
#29529F #3B299F #76299F
triadic
#3B299F #9F3B29 #299F3B
tetradic
#3B299F #9F2952 #8D9F29 #299F76
square
#3B299F #9F2952 #8D9F29 #299F76
split-complementary
#3B299F #9F7629 #529F29
monochromatic
#17103E #291C6E #3B299F #5039CC #7B6AD9

Accessibility & contrast

On white

10.48
#3B299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3B299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B299F
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B299F#FFFFFF#000000##FFFFFF
##3B299F1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b299f;
/* rgb */ color: rgb(59, 41, 159);
/* oklch */ color: oklch(38.7% 0.179 280.9);
Tailwind
colors: {
  custom: {
    50: '#7e65bc',
    500: '#3b299f',
    950: '#000000',
  },
}
SCSS
$custom: #3b299f;
$custom-light: #7e65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b299f",
  "rgb": {
    "r": 59,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 249.153,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38729,
    "c": 0.17913,
    "h": 280.9
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#3B299F
secondary
#B1BF65
accent
#E246CA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B299F

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

Preview Lab → · Contrast checker → · Palette generator →

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