#3B2E8A#3B2E8A

#3B2E8A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.146 H 283.2°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#3B2E8A
RGBrgb(59, 46, 138)
HSLhsl(248, 50%, 36%)
HSVhsv(248, 67%, 54%)
CMYKcmyk(57.2%, 66.7%, 0%, 45.9%)
CIE-LABlab(25.92, 32.51, -49.48)
CIE-LCHlch(25.92, 59.20, 303.30°)
OKLaboklab(37.51% 0.0334 -0.1422)
OKLCHoklch(37.51% 0.146 283.2)
XYZxyz(7.3667, 4.7183, 24.5624)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2E8A #7D8A2E
analogous
#2E4F8A #3B2E8A #692E8A
triadic
#3B2E8A #8A3B2E #2E8A3B
tetradic
#3B2E8A #8A2E4F #7D8A2E #2E8A69
square
#3B2E8A #8A2E4F #7D8A2E #2E8A69
split-complementary
#3B2E8A #8A692E #4F8A2E
monochromatic
#140F2E #271F5C #3B2E8A #4F3DB8 #7566CC

Accessibility & contrast

On white

10.80
#3B2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3B2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2E8A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2E8A#FFFFFF#000000##FFFFFF
##3B2E8A1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#154557
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3b2e8a;
/* rgb */ color: rgb(59, 46, 138);
/* oklch */ color: oklch(37.5% 0.146 283.2);
Tailwind
colors: {
  custom: {
    50: '#7967ad',
    500: '#3b2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #3b2e8a;
$custom-light: #7967ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2e8a",
  "rgb": {
    "r": 59,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 248.478,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37511,
    "c": 0.14608,
    "h": 283.2
  },
  "luminance": 0.04719
}

Semantic roles & 50–950 ramp

primary
#3B2E8A
secondary
#A7B361
accent
#DA4EC6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3B2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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