#3B2EAC#3B2EAC

#3B2EAC is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.190 H 278.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#3B2EAC
RGBrgb(59, 46, 172)
HSLhsl(246, 58%, 43%)
HSVhsv(246, 73%, 67%)
CMYKcmyk(65.7%, 73.3%, 0%, 32.5%)
CIE-LABlab(29.06, 43.57, -65.09)
CIE-LCHlch(29.06, 78.33, 303.80°)
OKLaboklab(40.73% 0.0278 -0.1879)
OKLCHoklch(40.73% 0.19 278.4)
XYZxyz(10.2246, 5.8615, 39.6143)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2EAC #9FAC2E
analogous
#2E60AC #3B2EAC #7A2EAC
triadic
#3B2EAC #AC3B2E #2EAC3B
tetradic
#3B2EAC #AC2E60 #9FAC2E #2EAC7A
square
#3B2EAC #AC2E60 #9FAC2E #2EAC7A
split-complementary
#3B2EAC #AC7A2E #60AC2E
monochromatic
#1A144B #2A217C #3B2EAC #5749CE #8379DB

Accessibility & contrast

On white

9.67
#3B2EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3B2EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2EAC
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2EAC#FFFFFF#000000##FFFFFF
##3B2EAC1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b2eac;
/* rgb */ color: rgb(59, 46, 172);
/* oklch */ color: oklch(40.7% 0.190 278.4);
Tailwind
colors: {
  custom: {
    50: '#8069c6',
    500: '#3b2eac',
    950: '#000000',
  },
}
SCSS
$custom: #3b2eac;
$custom-light: #8069c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2eac",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 246.19,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40728,
    "c": 0.18997,
    "h": 278.4
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#3B2EAC
secondary
#BBC372
accent
#E147D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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