#3B299E#3B299E

#3B299E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.178 H 281.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#3B299E
RGBrgb(59, 41, 158)
HSLhsl(249, 59%, 39%)
HSVhsv(249, 74%, 62%)
CMYKcmyk(62.7%, 74.1%, 0%, 38%)
CIE-LABlab(26.69, 41.90, -60.53)
CIE-LCHlch(26.69, 73.62, 304.70°)
OKLaboklab(38.63% 0.0342 -0.1746)
OKLCHoklch(38.63% 0.178 281.1)
XYZxyz(8.7662, 4.9837, 32.8411)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B299E #8C9E29
analogous
#29529E #3B299E #76299E
triadic
#3B299E #9E3B29 #299E3B
tetradic
#3B299E #9E2952 #8C9E29 #299E76
square
#3B299E #9E2952 #8C9E29 #299E76
split-complementary
#3B299E #9E7629 #529E29
monochromatic
#17103D #291C6D #3B299E #4F39CC #7A69D8

Accessibility & contrast

On white

10.52
#3B299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B299E
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B299E#FFFFFF#000000##FFFFFF
##3B299E1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b299e;
/* rgb */ color: rgb(59, 41, 158);
/* oklch */ color: oklch(38.6% 0.178 281.1);
Tailwind
colors: {
  custom: {
    50: '#7e65bc',
    500: '#3b299e',
    950: '#000000',
  },
}
SCSS
$custom: #3b299e;
$custom-light: #7e65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b299e",
  "rgb": {
    "r": 59,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 249.231,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38629,
    "c": 0.17788,
    "h": 281.1
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

primary
#3B299E
secondary
#B1BF64
accent
#E246CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B299E

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

Preview Lab → · Contrast checker → · Palette generator →

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