#3A34BA#3A34BA

#3A34BA is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.9% C 0.201 H 275.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#3A34BA
RGBrgb(58, 52, 186)
HSLhsl(243, 56%, 47%)
HSVhsv(243, 72%, 73%)
CMYKcmyk(68.8%, 72%, 0%, 27.1%)
CIE-LABlab(31.58, 44.59, -69.28)
CIE-LCHlch(31.58, 82.39, 302.76°)
OKLaboklab(42.92% 0.0201 -0.2002)
OKLCHoklch(42.92% 0.201 275.7)
XYZxyz(11.8329, 6.8996, 47.1530)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34BA #B4BA34
analogous
#3471BA #3A34BA #7D34BA
triadic
#3A34BA #BA3A34 #34BA3A
tetradic
#3A34BA #BA3471 #B4BA34 #34BA7D
square
#3A34BA #BA3471 #B4BA34 #34BA7D
split-complementary
#3A34BA #BA7D34 #71BA34
monochromatic
#1C195A #2B278A #3A34BA #605AD1 #8E8ADE

Accessibility & contrast

On white

8.82
#3A34BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3A34BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34BA
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34BA#FFFFFF#000000##FFFFFF
##3A34BA1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0044B8
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a34ba;
/* rgb */ color: rgb(58, 52, 186);
/* oklch */ color: oklch(42.9% 0.201 275.7);
Tailwind
colors: {
  custom: {
    50: '#826dd0',
    500: '#3a34ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a34ba;
$custom-light: #826dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34ba",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 242.687,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42915,
    "c": 0.20124,
    "h": 275.7
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#3A34BA
secondary
#C5C881
accent
#E048D9
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A34BA

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

Preview Lab → · Contrast checker → · Palette generator →

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