#34329A#34329A

#34329A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.164 H 276.5°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#34329A
RGBrgb(52, 50, 154)
HSLhsl(241, 51%, 40%)
HSVhsv(241, 68%, 60%)
CMYKcmyk(66.2%, 67.5%, 0%, 39.6%)
CIE-LABlab(27.69, 34.28, -56.46)
CIE-LCHlch(27.69, 66.05, 301.26°)
OKLaboklab(39.09% 0.0186 -0.1629)
OKLCHoklch(39.09% 0.164 276.5)
XYZxyz(8.3876, 5.3437, 31.1550)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34329A #989A32
analogous
#32649A #34329A #68329A
triadic
#34329A #9A3432 #329A34
tetradic
#34329A #9A3264 #989A32 #329A68
square
#34329A #9A3264 #989A32 #329A68
split-complementary
#34329A #9A6832 #649A32
monochromatic
#15143E #24236C #34329A #4946C3 #7674D2

Accessibility & contrast

On white

10.15
#34329A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#34329A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34329A
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34329A#FFFFFF#000000##FFFFFF
##34329A1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #34329a;
/* rgb */ color: rgb(52, 50, 154);
/* oklch */ color: oklch(39.1% 0.164 276.5);
Tailwind
colors: {
  custom: {
    50: '#796ab9',
    500: '#34329a',
    950: '#000000',
  },
}
SCSS
$custom: #34329a;
$custom-light: #796ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#34329a",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 241.154,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.39092,
    "c": 0.16395,
    "h": 276.5
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#34329A
secondary
#B9BA6E
accent
#DA4DD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #34329A

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

Preview Lab → · Contrast checker → · Palette generator →

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