#3A2B8A#3A2B8A

#3A2B8A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.150 H 283.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#3A2B8A
RGBrgb(58, 43, 138)
HSLhsl(249, 52%, 35%)
HSVhsv(249, 69%, 54%)
CMYKcmyk(58%, 68.8%, 0%, 45.9%)
CIE-LABlab(25.14, 34.17, -50.75)
CIE-LCHlch(25.14, 61.18, 303.95°)
OKLaboklab(36.93% 0.0349 -0.146)
OKLCHoklch(36.93% 0.15 283.4)
XYZxyz(7.1948, 4.4618, 24.5219)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2B8A #7B8A2B
analogous
#2B4B8A #3A2B8A #692B8A
triadic
#3A2B8A #8A3A2B #2B8A3A
tetradic
#3A2B8A #8A2B4B #7B8A2B #2B8A69
square
#3A2B8A #8A2B4B #7B8A2B #2B8A69
split-complementary
#3A2B8A #8A692B #4B8A2B
monochromatic
#130E2D #261C5B #3A2B8A #4E3AB9 #7361CE

Accessibility & contrast

On white

11.10
#3A2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3A2B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2B8A
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2B8A#FFFFFF#000000##FFFFFF
##3A2B8A1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#124356
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3a2b8a;
/* rgb */ color: rgb(58, 43, 138);
/* oklch */ color: oklch(36.9% 0.150 283.4);
Tailwind
colors: {
  custom: {
    50: '#7965ad',
    500: '#3a2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #3a2b8a;
$custom-light: #7965ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2b8a",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 249.474,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36929,
    "c": 0.15007,
    "h": 283.4
  },
  "luminance": 0.04462
}

Semantic roles & 50–950 ramp

primary
#3A2B8A
secondary
#A6B45D
accent
#DC4CC5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3A2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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