#34329C#34329C

#34329C is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.167 H 276.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#34329C
RGBrgb(52, 50, 156)
HSLhsl(241, 51%, 40%)
HSVhsv(241, 68%, 61%)
CMYKcmyk(66.7%, 67.9%, 0%, 38.8%)
CIE-LABlab(27.87, 34.97, -57.38)
CIE-LCHlch(27.87, 67.20, 301.36°)
OKLaboklab(39.28% 0.0184 -0.1656)
OKLCHoklch(39.28% 0.167 276.3)
XYZxyz(8.5556, 5.4108, 32.0396)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34329C #9A9C32
analogous
#32659C #34329C #69329C
triadic
#34329C #9C3432 #329C34
tetradic
#34329C #9C3265 #9A9C32 #329C69
square
#34329C #9C3265 #9A9C32 #329C69
split-complementary
#34329C #9C6932 #659C32
monochromatic
#15143F #25236E #34329C #4947C4 #7775D3

Accessibility & contrast

On white

10.08
#34329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#34329C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34329C
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34329C#FFFFFF#000000##FFFFFF
##34329C1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #34329c;
/* rgb */ color: rgb(52, 50, 156);
/* oklch */ color: oklch(39.3% 0.167 276.3);
Tailwind
colors: {
  custom: {
    50: '#796aba',
    500: '#34329c',
    950: '#000000',
  },
}
SCSS
$custom: #34329c;
$custom-light: #796aba;
$custom-dark: #000000;
JSON
{
  "hex": "#34329c",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 241.132,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3928,
    "c": 0.16659,
    "h": 276.3
  },
  "luminance": 0.05412
}

Semantic roles & 50–950 ramp

primary
#34329C
secondary
#BABB6F
accent
#DB4DD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #34329C

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

Preview Lab → · Contrast checker → · Palette generator →

#34329C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva