#3B299C#3B299C

#3B299C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.175 H 281.4°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3B299C
RGBrgb(59, 41, 156)
HSLhsl(249, 58%, 39%)
HSVhsv(249, 74%, 61%)
CMYKcmyk(62.2%, 73.7%, 0%, 38.8%)
CIE-LABlab(26.49, 41.27, -59.63)
CIE-LCHlch(26.49, 72.52, 304.69°)
OKLaboklab(38.43% 0.0347 -0.1719)
OKLCHoklch(38.43% 0.175 281.4)
XYZxyz(8.5954, 4.9154, 31.9419)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B299C #8A9C29
analogous
#29509C #3B299C #74299C
triadic
#3B299C #9C3B29 #299C3B
tetradic
#3B299C #9C2950 #8A9C29 #299C74
square
#3B299C #9C2950 #8A9C29 #299C74
split-complementary
#3B299C #9C7429 #509C29
monochromatic
#16103B #291C6C #3B299C #4F38CB #7968D7

Accessibility & contrast

On white

10.59
#3B299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3B299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B299C
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B299C#FFFFFF#000000##FFFFFF
##3B299C1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b299c;
/* rgb */ color: rgb(59, 41, 156);
/* oklch */ color: oklch(38.4% 0.175 281.4);
Tailwind
colors: {
  custom: {
    50: '#7d65ba',
    500: '#3b299c',
    950: '#000000',
  },
}
SCSS
$custom: #3b299c;
$custom-light: #7d65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3b299c",
  "rgb": {
    "r": 59,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 249.391,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38431,
    "c": 0.1754,
    "h": 281.4
  },
  "luminance": 0.04916
}

Semantic roles & 50–950 ramp

primary
#3B299C
secondary
#AFBE63
accent
#E246C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B299C

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

Preview Lab → · Contrast checker → · Palette generator →

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