#3B29B2#3B29B2

#3B29B2 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.7% C 0.202 H 278.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#3B29B2
RGBrgb(59, 41, 178)
HSLhsl(248, 63%, 43%)
HSVhsv(248, 77%, 70%)
CMYKcmyk(66.9%, 77%, 0%, 30.2%)
CIE-LABlab(28.72, 48.15, -69.24)
CIE-LCHlch(28.72, 84.34, 304.81°)
OKLaboklab(40.67% 0.0295 -0.2)
OKLCHoklch(40.67% 0.202 278.4)
XYZxyz(10.6299, 5.7291, 42.6565)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B29B2 #A0B229
analogous
#295CB2 #3B29B2 #7F29B2
triadic
#3B29B2 #B23B29 #29B23B
tetradic
#3B29B2 #B2295C #A0B229 #29B27F
square
#3B29B2 #B2295C #A0B229 #29B27F
split-complementary
#3B29B2 #B27F29 #5CB229
monochromatic
#1A124F #2B1E80 #3B29B2 #5744D4 #8476DF

Accessibility & contrast

On white

9.79
#3B29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3B29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B29B2
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B29B2#FFFFFF#000000##FFFFFF
##3B29B21.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b29b2;
/* rgb */ color: rgb(59, 41, 178);
/* oklch */ color: oklch(40.7% 0.202 278.4);
Tailwind
colors: {
  custom: {
    50: '#8266ca',
    500: '#3b29b2',
    950: '#000000',
  },
}
SCSS
$custom: #3b29b2;
$custom-light: #8266ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b29b2",
  "rgb": {
    "r": 59,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 247.883,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40669,
    "c": 0.20216,
    "h": 278.4
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#3B29B2
secondary
#BCC770
accent
#E642D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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