#3A2BA9#3A2BA9

#3A2BA9 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.190 H 278.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#3A2BA9
RGBrgb(58, 43, 169)
HSLhsl(247, 59%, 42%)
HSVhsv(247, 75%, 66%)
CMYKcmyk(65.7%, 74.6%, 0%, 33.7%)
CIE-LABlab(28.09, 44.16, -64.88)
CIE-LCHlch(28.09, 78.48, 304.24°)
OKLaboklab(39.93% 0.029 -0.1873)
OKLCHoklch(39.93% 0.19 278.8)
XYZxyz(9.7679, 5.4911, 38.0736)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BA9 #9AA92B
analogous
#2B5BA9 #3A2BA9 #792BA9
triadic
#3A2BA9 #A93A2B #2BA93A
tetradic
#3A2BA9 #A92B5B #9AA92B #2BA979
square
#3A2BA9 #A92B5B #9AA92B #2BA979
split-complementary
#3A2BA9 #A9792B #5BA92B
monochromatic
#191247 #291F78 #3A2BA9 #5342CF #7F73DB

Accessibility & contrast

On white

10.01
#3A2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3A2BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2BA9
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BA9#FFFFFF#000000##FFFFFF
##3A2BA91.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a2ba9;
/* rgb */ color: rgb(58, 43, 169);
/* oklch */ color: oklch(39.9% 0.190 278.8);
Tailwind
colors: {
  custom: {
    50: '#7f67c4',
    500: '#3a2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ba9;
$custom-light: #7f67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ba9",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 247.143,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39931,
    "c": 0.18956,
    "h": 278.8
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#3A2BA9
secondary
#B9C36D
accent
#E345D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3A2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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